/* Guest Login Page Styles */

:root {
    /* Elegant Wedding Palette */
    --gold-champagne: #d4a574;
    --gold-light: #e8c9a3;
    --gold-dark: #b8926a;
    --linen: #f8f5f2;
    --cream: #faf8f6;
    --white: #ffffff;
    --text-primary: #2d2d2d;
    --text-secondary: #6b6b6b;
    --text-muted: #9a9a9a;
    --border-light: #e8e4e0;
    --danger-color: #c17d7d;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--linen);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Subtle Texture Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a574' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.login-container {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    padding: 50px 45px;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Golden Frame Effect */
.login-container::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--gold-champagne);
    opacity: 0.2;
    pointer-events: none;
}

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

.hearts-decoration {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.3;
}

.hearts-decoration span {
    display: inline-block;
    color: var(--gold-champagne);
    font-size: 20px;
    margin: 0 8px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-champagne), transparent);
    margin: 0 auto 20px;
}

.login-header h1 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-primary);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
}

.code-input {
    font-size: 20px;
    letter-spacing: 6px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.3s ease;
    background: var(--cream);
    color: var(--text-primary);
    width: 100%;
}

.code-input:focus {
    border-color: var(--gold-champagne);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
    outline: none;
    background: var(--white);
}

.code-input::placeholder {
    letter-spacing: 4px;
    color: var(--text-muted);
    opacity: 0.5;
}

.form-text {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-login {
    background: var(--gold-champagne);
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.4s ease;
    color: var(--white);
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.25);
    letter-spacing: 0.3px;
}

.btn-login:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.35);
    color: var(--white);
}

.alert {
    border-radius: 4px;
    border: 1px solid var(--danger-color);
    padding: 14px 16px;
    background: #fef5f5;
    color: #8b4444;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert strong {
    font-weight: 600;
}

.help-text {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.help-text a {
    color: var(--gold-champagne);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.help-text a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .login-container {
        padding: 40px 30px;
    }

    .login-header h1 {
        font-size: 30px;
    }

    .code-input {
        font-size: 18px;
        letter-spacing: 4px;
    }
}
