/* Login Page - Pink Princess Theme */

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

body.login-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    margin: 0;
    font-size: 1.5em;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h2 .emoji {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: initial !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Login Section */
.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
    animation: fadeInUp 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-icon {
    font-size: 4em;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.login-header h1 {
    color: #e91e8c;
    font-size: 2em;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 1.1em;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b9d;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -5px;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95em;
    color: #666;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-right: 8px;
    display: inline-block;
    position: relative;
    transition: all 0.3s;
}

.checkbox-container:hover .checkmark {
    border-color: #ff6b9d;
}

.checkbox-container input:checked ~ .checkmark {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    border-color: #ff6b9d;
}

.checkbox-container input:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-link {
    color: #ff6b9d;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #c86dd7;
    text-decoration: underline;
}

/* Button */
.btn {
    padding: 16px 40px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
    font-size: 1.2em;
}

.btn:hover::before {
    left: 10px;
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    padding-left: 50px;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* Divider */
.form-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e0e0e0;
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.form-divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 0.9em;
}

/* Signup Prompt */
.signup-prompt {
    text-align: center;
    padding: 20px;
    background: #fff5f9;
    border-radius: 10px;
}

.signup-prompt p {
    color: #666;
    font-size: 0.95em;
}

.signup-link {
    color: #ff6b9d;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.signup-link:hover {
    color: #c86dd7;
    text-decoration: underline;
}

/* Login Footer */
.login-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.info-text {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
    text-align: center;
}

/* Benefits Sidebar */
.login-benefits {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.login-benefits h3 {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8em;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #fff5f9;
    border-radius: 12px;
    transition: all 0.3s;
}

.benefits-list li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
}

.benefit-icon {
    font-size: 2em;
    min-width: 50px;
    text-align: center;
}

.benefits-list li strong {
    color: #333;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.benefits-list li p {
    color: #666;
    font-size: 0.95em;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ff6b9d;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b9d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .login-benefits {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-links {
        gap: 10px;
        font-size: 0.85em;
    }
}
