/* Login/Register Page Styles */

.login-register-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    background: white;
}

.login-section,
.register-section {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-section {
    background: white;
    border-right: 1px solid #eee;
}

.register-section {
    background: #f8f9fa;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Form Check Styling */
.form-group .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.form-group .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.125rem 0 0 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.form-group .form-check-label {
    margin-bottom: 0;
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}


.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 10px 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Success message styling */
.error-message[style*="color: rgb(40, 167, 69)"],
.error-message[style*="color: #28a745"] {
    color: #28a745 !important;
    background-color: #f0f9ff !important;
    border: 1px solid #28a745 !important;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 0.9rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 10px;
    z-index: 1;
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #4285F4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
}

.btn-google:active {
    transform: scale(0.98);
}

.google-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .login-register-wrapper {
        grid-template-columns: 1fr;
    }

    .login-section {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .login-section,
    .register-section {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
