:root {
    /* Elegant Beige & Black Color Palette */
    --primary: #DDCDB6;
    --primary-hover: #c9b89d;
    --primary-dark: #b5a487;
    --secondary: #f5f5f5;
    --accent: #DDCDB6;
    --success: #10b981;
    --background: #111111;
    --foreground: #111111;
    --text-light: #DDCDB6;
    --muted: #666666;
    --muted-light: #999999;
    --border: #DDCDB6;
    --input-bg: #ffffff;
    --card-bg: #111111;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 0.5rem;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--background);
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.6;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
}

/* Logo Section */
.logo-section {
    padding: 20px 30px 10px;
    text-align: center;
    background: var(--background);
}

.logo {
    max-width: 400px;
    height: auto;
   
}

/* Hero Banner */
.hero-banner {
    background: var(--background);
    color: var(--text-light);
    text-align: center;
    padding: 20px 30px 30px;
    position: relative;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.025em;
    color: var(--text-light);
}

/* Teapot Separator */
.teapot-separator {
    margin: 10px auto;
    padding: 10px 0;
}

.separator-img {
    max-width: 180px;
    height: auto;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Language Flags */
.language-flags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
    padding: 10px 0;
}

.flag-btn {
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.flag-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(221, 205, 182, 0.5);
}

.flag-icon-inline {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(20%);
}

/* Emoji Rating Buttons */
.emoji-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0 10px;
}

.emoji-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 110px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: var(--radius);
}

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

.emoji-btn.selected {
    background: rgba(221, 205, 182, 0.1);
}

.emoji-icon {
    width: 70px;
    height: 70px;
}

.emoji-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Form Container */
.form-container {
    padding: 25px 30px;
    background: var(--background);
}

.complaint-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: var(--primary);
    font-size: 1rem;
}

.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--primary);
    border-radius: calc(var(--radius) * 1.5);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--background);
    color: var(--text-light);
    resize: vertical;
    min-height: 150px;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(221, 205, 182, 0.2);
}

.form-textarea::placeholder {
    color: var(--muted-light);
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--input-bg);
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    background: var(--secondary);
    border-color: var(--primary-light);
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) - 4px);
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.form-checkbox:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.form-checkbox:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.75rem;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
}

.checkbox-text i {
    color: var(--accent);
    font-size: 1rem;
}

/* Phone Input */
.phone-input-group {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--foreground);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--background);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--muted-light);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: calc(var(--radius) * 2);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.submit-btn:hover {
    background: var(--primary);
    color: var(--background);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 205, 182, 0.3);
}

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

.submit-btn:disabled {
    background: var(--muted-light);
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 1.125rem;
}

/* Thank You Note */
.thank-you-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 10px;
    font-style: italic;
    text-decoration: underline;
}

/* Success Message */
.success-message {
    padding: 60px 30px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 24px;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
}

.success-text {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.fa-solid, .fas {
    font-weight: 900;
    color: #DDCCB6;
}
.back-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: var(--primary);
    color: var(--foreground);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    padding: 24px 30px;
    text-align: center;
    background: var(--background);
    border-top: 1px solid rgba(221, 205, 182, 0.2);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Loading State */
.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading span {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logo-section {
        padding: 15px 20px 8px;
    }

    .logo {
        max-width: 150px;
    }

    .hero-banner {
        padding: 15px 20px 25px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .teapot-separator {
        margin: 8px auto;
        padding: 8px 0;
    }

    .separator-img {
        max-width: 140px;
    }

    .language-flags {
        gap: 10px;
        margin: 12px 0;
        padding: 8px 0;
    }

    .flag-btn {
        width: 40px;
        height: 40px;
    }

    .emoji-buttons {
        gap: 15px;
        margin: 15px 0 8px;
    }

    .emoji-icon {
        width: 55px;
        height: 55px;
    }

    .emoji-label {
        font-size: 0.75rem;
    }

    .form-container {
        padding: 20px 20px;
    }

    .complaint-form {
        gap: 15px;
    }

    .success-message {
        padding: 40px 20px;
    }

    .success-icon {
        font-size: 4rem;
    }

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

    .success-text {
        font-size: 1rem;
    }

    .footer {
        padding: 15px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .container {
        border-radius: var(--radius);
    }

    .form-textarea {
        min-height: 120px;
    }

    .checkbox-label {
        padding: 12px;
    }

    .checkbox-text {
        font-size: 0.875rem;
    }

    .emoji-buttons {
        gap: 10px;
        margin: 12px 0 6px;
    }

    .emoji-btn {
        padding: 8px;
    }

    .emoji-icon {
        width: 50px;
        height: 50px;
    }
}
