@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 0 25px 25px 0;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5C000;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 2rem;
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.user-icon { background-color: #ffc107; }
.security-icon { background-color: #007bff; }
.email-icon { background-color: #ffc107; }
.success-icon { background-color: #28a745; color: white; }
.password-reset-icon { background-color: #007bff; }
.profile-icon { 
    background-color: #007bff; 
}

.password-reset-icon .icon-img,
.profile-icon .icon-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group.half {
    width: 48%;
    display: inline-block;
}

.input-group.half:first-child {
    margin-right: 4%;
}

.form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    background-color: #f8f9fa;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #ffc107;
    background-color: white;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #ffc107;
    color: #333;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #e0a800;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #ffc107;
    color: #333;
}

.btn-link {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
    width: 100%;
}

.forgot-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    display: block;
    text-align: right;
    margin-bottom: 1.5rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    background-color: white;
    padding: 0 1rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.username-rules {
    background-color: #fff3cd;
    padding: 1rem;
    border-radius: 15px;
    margin: 1.5rem 0;
}

.username-rules h4 {
    margin-bottom: 0.5rem;
    color: #856404;
    font-weight: 600;
}

.username-rules ul {
    list-style: none;
    color: #856404;
}

.username-rules li {
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.username-rules li::before {
    content: '• ';
    color: #ffc107;
    font-weight: bold;
}

.timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.timer-icon {
    margin-right: 0.5rem;
}

.account-info {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    background-color: #fff3cd;
    padding: 1rem;
    border-radius: 15px;
}

.info-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.info-content {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

.setup-steps {
    margin: 2rem 0;
    font-family: 'Poppins', sans-serif;
}

.step-list {
    margin-top: 1rem;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.step.completed {
    color: #28a745;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.step.completed .step-number {
    background-color: #28a745;
    color: white;
}

.status-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.status-message.success {
    color: #28a745;
}

.status-message.error {
    color: #dc3545;
}

.password-requirements {
    margin-top: 0.5rem;
}

.password-requirements small {
    color: #666;
    font-size: 0.8rem;
}

.info-box {
    background-color: #e7f3ff;
    border: 1px solid #bee5eb;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0.75rem;
    color: #0c5460;
    font-weight: 500;
}

.info-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-box li {
    color: #0c5460;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.info-box li::before {
    content: '•';
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Checkbox styles */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    width: auto;
    cursor: pointer;
}

.checkbox-container a {
    color: #007bff;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Form validation states */
.input-group input.error,
.input-group select.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.input-group input.success,
.input-group select.success {
    border-color: #28a745;
    background-color: #f0fff4;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Profile photo section */
.profile-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.current-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid #ffc107;
}

.current-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload {
    text-align: center;
}

.upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.upload-label:hover {
    background: #e9ecef;
    border-color: #ffc107;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn-secondary,
.form-actions .btn-primary {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-panel {
        height: 200px;
        border-radius: 0 0 25px 25px;
    }
    
    .right-panel {
        padding: 1rem;
    }
    
    .form-container {
        padding: 2rem;
        border-radius: 25px 25px 0 0;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .input-group.half {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
