* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url('../assets/images/Login Page.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.white-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background-color: white;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
}

.white-rectangle .logo-header {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-rectangle .logo-header img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain; 
}

.login-container, .register-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}

.logo-section {
    margin-bottom: 30px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: url('../assets/images/Masanas Logo standalone 1.png') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1px;
    font-weight: bold;
}

h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #571313;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    text-align: left;
}

input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    color: #571313;
    cursor: pointer;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #681127 0%, #7c111a 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(121, 9, 42, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #681127;
    border: 2px solid #5c1317;
}

.btn-secondary:hover {
    background: #681127;
    color: white;
}

.terms {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.terms a {
    color: #5e48bd;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 12px;
    color: #999;
}



@media (max-width: 480px) {
    .login-container, .register-container {
        padding: 30px 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
}

