/* static/css/register.css */

body.register-page {
    background-color: #FFFFFF; /* Pure white background */
    font-family: 'Inter', sans-serif;
}

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px 0; /* Reduced padding */
}

.register-container {
    max-width: 480px; /* Slightly wider for potentially more fields */
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* Removed Logo Styles */

.register-title {
    font-size: 2rem; /* Adjust as needed */
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.register-subtitle {
    font-size: 1rem; /* Adjust as needed */
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.register-form .form-control {
    background-color: #F3F4F6; /* Light grey background */
    border: none;
    border-radius: 50px; /* Fully rounded */
    padding: 15px 20px 15px 50px; /* Padding for text and icon */
    font-size: 0.95rem;
    height: auto; /* Reset height */
    box-shadow: none; /* Remove default shadow */
    margin-bottom: 20px;
}

.register-form .form-control::placeholder {
    color: #9CA3AF; /* Placeholder text color */
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px; /* Add margin here instead of directly on form-control */
}

.input-wrapper .form-control {
    margin-bottom: 0; /* Remove margin from control itself */
}


.input-wrapper .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280; /* Icon color */
    font-size: 1.1rem;
}

/* Hide any default password toggle icons */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* Custom password toggle icon */
.input-wrapper .password-toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280; /* Icon color */
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: auto;
}

.form-text {
    font-size: 0.8rem;
    color: #6B7280;
    display: block;
    text-align: left;
    margin-top: -15px; /* Adjust position relative to input */
    margin-bottom: 15px;
    padding-left: 50px; /* Align with input text */
}


.btn-register {
    background-color: #3B82F6; /* Blue button */
    border: none;
    border-radius: 50px; /* Fully rounded */
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    margin-top: 10px; /* Add some space above button */
    margin-bottom: 30px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background-color: #2563EB; /* Darker blue on hover */
    color: #fff;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9CA3AF;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E5E7EB; /* Light line */
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

.login-link {
    font-size: 0.95rem;
    color: #6B7280;
}

.login-link a {
    color: #F59E0B; /* Gold color */
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Alert styling */
.alert-register {
    padding: 10px 15px;
    margin-bottom: 15px;
    margin-top: -10px; /* Pull up slightly */
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: left;
}

/* Responsive adjustments if needed */
@media (max-width: 576px) {
    .register-wrapper {
        padding: 20px 0;
    }
    .register-container {
        padding: 30px 15px;
    }
     /* Removed Logo Responsive Styles */
    .register-title {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    .register-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
        line-height: 1.4;
    }
     .register-form .form-control {
        padding: 12px 15px 12px 45px; /* Adjusted padding */
        font-size: 0.9rem;
    }
    .input-wrapper .input-icon {
        left: 15px; /* Adjust icon position */
        font-size: 1rem;
    }
    .input-wrapper .password-toggle-icon {
        right: 15px; /* Adjust icon position */
         font-size: 1rem;
    }
    .form-text {
        padding-left: 45px;
        font-size: 0.75rem;
        margin-top: -12px;
        margin-bottom: 12px;
    }
    .btn-register {
        padding: 12px 0;
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .or-separator {
        margin-bottom: 25px;
    }
    .login-link {
        font-size: 0.9rem;
    }
     .alert-register {
         font-size: 0.8rem;
     }
} 