/* Authentication Pages Dark Theme CSS */
/* Matches Culture Curious site's dark aesthetic */

/* Import main site fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Override body styles for auth pages */
body {
    background-color: #050201;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

/* Login Page Styles */
.login-container {
    max-width: 400px;
    margin: 120px auto 40px;
    padding: 40px;
    background: #161616;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.login-header h1 {
    color: #C9A04C;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 10px;
}

.login-header p {
    color: #FFFFFF;
    font-size: 16px;
    opacity: 0.8;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #C9A04C;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(201, 160, 76, 0.2);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(0deg,
        rgba(255, 240, 218, 1) 1%,
        rgba(148, 100, 30, 1) 4%,
        rgba(255, 242, 219, 1) 83%,
        rgba(234, 200, 133, 1) 94%,
        rgba(251, 245, 209, 1) 98%,
        rgba(189, 154, 75, 1) 100%,
        rgba(236, 216, 163, 1) 100%);
    color: #050201;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 240, 218, 0.3);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #51cf66;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.login-footer a {
    color: #C9A04C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.magic-link-info {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.magic-link-info h4 {
    margin: 0 0 10px 0;
    color: #C9A04C;
    font-size: 16px;
    font-weight: 600;
}

.magic-link-info ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.magic-link-info li {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 120px auto 40px;
    padding: 40px;
    background: #161616;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-header h1 {
    color: #C9A04C;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 10px;
}

.profile-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

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

.profile-section h2 {
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-label {
    font-weight: 600;
    color: #FFFFFF;
}

.profile-info-value {
    color: rgba(255, 255, 255, 0.8);
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-verified {
    background-color: rgba(40, 167, 69, 0.2);
    color: #51cf66;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-unverified {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.preferences-summary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.preferences-summary p {
    color: #FFFFFF;
    margin-bottom: 15px;
}

.date-range-info {
    background-color: #222;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #C9A04C;
}

.date-range-info h4 {
    margin: 0 0 10px 0;
    color: #C9A04C;
    font-size: 16px;
    font-weight: 600;
}

.date-range-info p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.preferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.preference-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.preference-category h4 {
    color: #C9A04C;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.preference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preference-list li {
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Button styles matching site theme */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: transparent;
    border: 2px solid #C9A04C;
    color: #C9A04C;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    height: 50px;
    padding: 13.91px 20px;
}

.btn-primary:hover {
    background: rgba(201, 160, 76, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 160, 76, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #C9A04C;
    color: #C9A04C;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    height: 50px;
    padding: 13.91px 20px;
}

.btn-secondary:hover {
    background: rgba(201, 160, 76, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 160, 76, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #C9A04C;
    color: #C9A04C;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    height: 50px;
    padding: 13.91px 20px;
}

.btn-outline:hover {
    background: rgba(201, 160, 76, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 160, 76, 0.3);
}

.no-preferences {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.no-preferences h3 {
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.logout-form {
    display: inline;
}

.welcome-message {
    background: linear-gradient(135deg, #C9A04C, rgba(201, 160, 76, 0.8));
    color: #050201;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.welcome-message h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
}

.welcome-message p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container,
    .profile-container {
        margin: 100px 20px 40px;
        padding: 30px 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .preferences-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .login-header h1,
    .profile-header h1 {
        font-size: 28px;
    }
    
    .profile-header h1 {
        font-size: 32px;
    }
    
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}
