:root {
            /* PALETA OFICIAL SENSŌRY CLUB */
            --primary-color: #73BDC6;          /* Teal principal del logo */
            --primary-dark: #5AA7B0;           /* Teal oscuro (generado) */
            --secondary-color: #F9BDAF;        /* Durazno suave del logo */

            /* Colores de estado (compatibles con la paleta) */
            --success-color: #4CAF50;          /* Verde OK */
            --warning-color: #FFB648;          /* Amarillo suave */
            --danger-color: #E06C75;           /* Rojo suave compatible */

            /* Grises y neutrales */
            --light-gray: #F7F9FA;             /* Gris muy suave */
            --medium-gray: #DDE2E5;            /* Gris medio */
            --dark-gray: #5C6466;              /* Gris oscuro */
            --text-color: #0D0D0D;             /* Negro suave */

            --white: #ffffff;

            /* Estilos */
            --border-radius: 12px;
            --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            min-height: 100vh;
            padding: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1.6;
        }

        .container {
            background: var(--white);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 25px;
            width: 100%;
            max-width: 500px;
            position: relative;
            overflow: hidden;
        }

        .header {
            text-align: center;
            margin-bottom: 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 40px;
        }

        .logo {
            width: 90px;
            height: 90px;
            margin: 0 auto 15px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 3px solid var(--white);
            background-color: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-gray);
            font-size: 12px;
        }

        .logo img {
            width: 220px;
            height: auto;
            margin-bottom: 20px;
        }

        .header p {
            color: var(--dark-gray);
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .question {
            margin-bottom: 22px;
            animation: fadeIn 0.5s ease;
        }

        .question-title {
            font-weight: bold;
            color: var(--text-color);
            margin-bottom: 10px;
            font-size: 1rem;
            display: flex;
            align-items: center;
        }

        .question-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background-color: var(--primary-color);
            color: var(--white);
            border-radius: 50%;
            font-size: 0.8rem;
            margin-right: 8px;
        }

        .miss-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .miss-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 12px;
            background: var(--light-gray);
            border: 2px solid var(--medium-gray);
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }

        .miss-option:hover {
            border-color: var(--primary-color);
            background: #f0f4ff;
        }

        .miss-option.selected {
            border-color: var(--primary-color);
            background: var(--primary-color);
            color: var(--white);
        }

        .miss-photo {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            overflow: hidden;
            margin-bottom: 8px;
        }

        .miss-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .miss-option.selected .miss-photo {
            border-color: var(--white);
            box-shadow: 0 0 0 2px var(--primary-color);
        }

        .miss-name {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .miss-option.selected .miss-name {
            color: var(--white);
        }

        /* Botones rápidos */
        .quick-buttons {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }

        .quick-btn {
            background: var(--light-gray);
            border: 2px solid var(--medium-gray);
            padding: 10px 12px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            transition: var(--transition);
            flex: 1;
            min-width: 100px;
            color: var(--text-color);
        }

        .quick-btn:hover {
            background: var(--primary-color);
            color: var(--white);
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }

        /* Tags de sugerencias */
        .suggestions {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }

        .suggestion-tag {
            background: var(--light-gray);
            border: 1px solid var(--medium-gray);
            padding: 6px 12px;
            border-radius: 15px;
            cursor: pointer;
            font-size: 13px;
            transition: var(--transition);
            color: var(--text-color);
        }

        .suggestion-tag:hover {
            background: var(--primary-color);
            color: var(--white);
            transform: translateY(-1px);
        }

        textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--medium-gray);
            border-radius: 8px;
            resize: vertical;
            min-height: 80px;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(115, 189, 198, 0.2);
        }

        .btn-submit {
            width: 100%;
            background: var(--primary-color);
            color: var(--white);
            border: none;
            padding: 14px;
            font-size: 1rem;
            border-radius: 8px;
            cursor: pointer;
            margin-top: 15px;
            transition: var(--transition);
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-submit:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(115, 189, 198, 0.4);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        .btn-submit:disabled {
            background: #cccccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .loading {
            opacity: 0.7;
            pointer-events: none;
        }

        #alertContainer {
            margin-top: 15px;
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .alert {
            padding: 12px 20px;
            border-radius: 10px;
            margin-bottom: 15px;
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            max-width: 90%;
            animation: fadeIn 0.3s ease;
        }

        .alert-success {
            background-color: #D4EDDA;
            color: #155724;
            border: 1px solid #C3E6CB;
        }

        .alert-error {
            background-color: #F8D7DA;
            color: #721C24;
            border: 1px solid #F5C6CB;
        }

        .alert-warning {
            background-color: #FFF3CD;
            color: #856404;
            border: 1px solid #FFEEAA;
        }

        .confirmation-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .confirmation-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .confirmation-card {
            background: var(--white);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            max-width: 380px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: translateY(20px);
            transition: transform 0.4s ease;
        }

        .confirmation-overlay.active .confirmation-card {
            transform: translateY(0);
        }

        .confirmation-icon {
            font-size: 60px;
            color: var(--success-color);
            margin-bottom: 15px;
            animation: bounce 0.6s ease;
        }

        .confirmation-title {
            font-size: 1.5rem;
            color: var(--text-color);
            margin-bottom: 10px;
            font-weight: bold;
        }

        .confirmation-message {
            color: var(--dark-gray);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .confirmation-btn {
            background: var(--primary-color);
            color: var(--white);
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }

        .confirmation-btn:hover {
            background: var(--primary-dark);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes bounce {
            0%, 20%, 60%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            80% { transform: translateY(-5px); }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .shake {
            animation: shake 0.5s ease-in-out;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        @media (max-width: 480px) {
            body { padding: 10px; }
            .container { padding: 20px; max-width: 100%; }
            .logo { width: 80px; height: 80px; }
            .header h1 { font-size: 1.7rem; }
            .question-title { font-size: 0.95rem; }
            .miss-photo { width: 80px; height: 80px; }
            textarea { min-height: 70px; font-size: 0.85rem; }
            .confirmation-card { padding: 25px; }
            .confirmation-title { font-size: 1.3rem; }
            
            .quick-buttons {
                flex-direction: column;
            }
            
            .quick-btn {
                min-width: auto;
            }
            
            .suggestions {
                justify-content: center;
            }
        }

        @media (max-width: 360px) {
            .header h1 { font-size: 1.5rem; }
            .miss-option { padding: 10px; font-size: 0.9rem; }
            .miss-photo { width: 70px; height: 70px; }
            textarea { min-height: 60px; }
            .miss-options {
                grid-template-columns: 1fr;
            }
        }