/**
 * Page de Connexion - Styles CSS
 * 
 * DESIGN SYSTEM - Direction Artistique du Site
 * 
 * Couleurs principales :
 * - Gradient principal : #667eea → #764ba2 (violet/bleu)
 * - Texte : #111827 (gris foncé)
 * - Texte secondaire : #6b7280 (gris moyen)
 * - Bordures : #d1d5db (gris clair)
 * 
 * Architecture :
 * - Fichier segmenté : CSS uniquement (pas de PHP ni JS)
 * - Chargé automatiquement via enqueue-assets.php
 * - Responsive : Mobile-first avec breakpoints
 * 
 * @package DECQuizTheme
 * @version 1.0.0
 */

/* Masquer le lien "Aller au contenu" */
.skip-link,
#wp-skip-link,
.screen-reader-text.skip-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Scroll enabled */

/* Sur mobile/tablette, permettre le scroll si nécessaire */
@media (max-width: 768px) {

    html.decquiz-login-page,
    html.decquiz-login-page body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        min-height: 100vh !important;
    }
}

/* Appliquer le motif de carreaux sur toute la page */
body:has(.decquiz-login),
body:has(.decquiz-login) .wp-site-blocks {
    /* Fond blanc avec motif de carreaux discret */
    background-color: #ffffff !important;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px) !important;
    /* Taille des carreaux responsive */
    background-size:
        clamp(20px, 2.5vw, 30px) clamp(20px, 2.5vw, 30px),
        clamp(20px, 2.5vw, 30px) clamp(20px, 2.5vw, 30px) !important;
    background-position: 0 0, 0 0 !important;
    background-attachment: fixed !important;
}

/* Réduire la marge de l'élément main WordPress */
body:has(.decquiz-login) main,
body:has(.decquiz-login) .wp--skip-link--target,
body:has(.decquiz-login) .wp-block-group.has-global-padding,
body:has(.decquiz-login) .is-layout-constrained {
    margin-top: 20px !important;
    padding-top: 0 !important;
}

.decquiz-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    margin-top: 0;
    /* Fond transparent pour laisser voir le motif de la page */
    background: transparent;
    position: relative;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .decquiz-login {
        padding: 20px 20px 80px;
        /* Minimal top padding */
        align-items: flex-start;
        /* Keep aligned to top */
    }
}

.decquiz-login-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 1;
}

.decquiz-login-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 56px 48px;
    /* Ombre douce comme les cartes features de la homepage */
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    max-width: 100%;
    width: 100%;
}

.decquiz-login-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

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

.decquiz-login-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.decquiz-login-logo .mqa-custom-logo svg {
    max-width: 180px;
}

.decquiz-login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

.decquiz-login-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
    text-align: center;
}

.decquiz-login-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #dc2626;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.decquiz-error-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.decquiz-error-message {
    color: #991b1b;
    font-weight: 500;
    flex: 1;
}

.decquiz-login-form {
    margin-bottom: 30px;
}

.decquiz-form-group {
    margin-bottom: 28px;
}

.decquiz-form-group:last-of-type {
    margin-bottom: 32px;
}

.decquiz-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.decquiz-label-text {
    position: relative;
    display: inline-block;
}

.decquiz-label-icon {
    font-size: 1.125rem;
    /* Suppression du filtre grayscale pour laisser la couleur native */
    filter: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.decquiz-label-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    /* Transition pour le changement de couleur */
    transition: stroke 0.3s ease;
}

/* Les icônes deviennent noires au survol du bloc */
.decquiz-form-group:hover .decquiz-label-icon svg path,
.decquiz-form-group:hover .decquiz-label-icon svg circle,
.decquiz-form-group:hover .decquiz-label-icon svg rect,
.decquiz-form-group:hover .decquiz-label-icon svg line {
    stroke: #000000 !important;
    transition: stroke 0.3s ease;
}

.decquiz-form-group:focus-within .decquiz-label-icon svg path,
.decquiz-form-group:focus-within .decquiz-label-icon svg circle,
.decquiz-form-group:focus-within .decquiz-label-icon svg rect,
.decquiz-form-group:focus-within .decquiz-label-icon svg line {
    stroke: #000000 !important;
    transition: stroke 0.3s ease;
}

.decquiz-label-icon svg path,
.decquiz-label-icon svg circle,
.decquiz-label-icon svg rect {
    transition: stroke 0.3s ease;
}

/* Au survol du groupe, l'icône devient noire */
.decquiz-form-group:hover .decquiz-label-icon svg path,
.decquiz-form-group:hover .decquiz-label-icon svg circle,
.decquiz-form-group:hover .decquiz-label-icon svg rect,
.decquiz-form-group:focus-within .decquiz-label-icon svg path,
.decquiz-form-group:focus-within .decquiz-label-icon svg circle,
.decquiz-form-group:focus-within .decquiz-label-icon svg rect {
    stroke: #000000 !important;
}

/* Texte du label avec effet stabilo */
.decquiz-label-text {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.decquiz-label-text::before {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: -0.1em;
    right: -0.1em;
    height: 0.6em;
    /* Couleur du logo (jaune/orange clair ou violet très clair ?) 
       L'utilisateur demande "couleur du logo". Le logo a du violet/bleu.
       Utilisons un violet très clair pour le surlignage.
    */
    background: rgba(102, 126, 234, 0.3);
    /* #667eea avec opacité */
    opacity: 0;
    transform: scaleX(0) skewX(-4deg) rotate(-1.5deg);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    border-radius: 2px;
}

/* Déclenchement de l'effet stabilo au survol du groupe ou focus */
.decquiz-form-group:hover .decquiz-label-text::before,
.decquiz-form-group:focus-within .decquiz-label-text::before {
    opacity: 1;
    transform: scaleX(1) skewX(-4deg) rotate(-1.5deg);
}

.decquiz-form-input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #111827;
    box-sizing: border-box;
    height: 56px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.decquiz-form-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.decquiz-form-input:hover {
    border-color: #9ca3af;
}

.decquiz-form-input:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

.decquiz-password-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.decquiz-password-wrapper .decquiz-form-input {
    padding-right: 56px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 56px;
}

.decquiz-toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
    z-index: 10;
    border-radius: 6px;
}

.decquiz-toggle-password:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.decquiz-toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

.decquiz-eye-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.decquiz-eye-icon svg {
    width: 100%;
    height: 100%;
}

.decquiz-eye-icon svg path,
.decquiz-eye-icon svg circle,
.decquiz-eye-icon svg line {
    stroke: #000000 !important;
    transition: stroke 0.3s ease;
}

.decquiz-form-group-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.decquiz-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}

.decquiz-checkbox-label:hover {
    opacity: 0.8;
}

.decquiz-checkbox {
    display: none;
}

.decquiz-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: #ffffff;
}

.decquiz-checkbox-label:hover .decquiz-checkbox-custom {
    border-color: #94a3b8;
    background: #f8fafc;
}

.decquiz-checkbox:checked+.decquiz-checkbox-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

.decquiz-checkbox:checked+.decquiz-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    animation: checkmark 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes checkmark {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-45deg);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.decquiz-checkbox-text {
    color: #475569;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.decquiz-checkbox-label:hover .decquiz-checkbox-text {
    color: #334155;
}

.decquiz-forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.decquiz-forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Bouton moderne et élégant */
.decquiz-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 42px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}

.decquiz-btn-login {
    width: 100% !important;
    background: #000000 !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
    border: none !important;
    cursor: pointer !important;
}

/* S'assurer que les éléments enfants ne bloquent pas les clics */
.decquiz-btn-login * {
    pointer-events: none !important;
}

.decquiz-btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: left 0.3s ease;
    z-index: 0;
}

.decquiz-btn-login:hover .decquiz-btn-bg {
    left: 0;
}

.decquiz-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.decquiz-btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.decquiz-btn-login.loading {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.decquiz-btn-login.loading .decquiz-btn-text {
    display: none;
}

.decquiz-btn-login.loading .decquiz-btn-loader {
    display: inline-block;
}

.decquiz-btn-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.decquiz-btn-login:hover .decquiz-btn-text {
    color: white;
    transform: scale(1.02);
}

/* Style Stabilo pour le texte du bouton - Version très agrandie (blanc sur fond noir) */
.decquiz-stabilo-purple {
    position: relative;
    display: inline-block;
}

.decquiz-stabilo-purple::before {
    content: '';
    position: absolute;
    bottom: -0.2em;
    left: -0.2em;
    right: -0.2em;
    height: 1.2em;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: scaleX(0) skewX(-4deg) rotate(-1.5deg);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    box-shadow:
        0 3px 8px rgba(255, 255, 255, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0% 35%, 3% 20%, 8% 10%, 15% 5%, 25% 3%, 35% 2%, 45% 3%, 55% 2%, 65% 3%, 75% 5%, 85% 10%, 92% 20%, 100% 35%,
            100% 65%, 92% 80%, 85% 90%, 75% 95%, 65% 97%, 55% 98%, 45% 97%, 35% 98%, 25% 97%, 15% 95%, 8% 90%, 3% 80%, 0% 65%);
    pointer-events: none;
}

.decquiz-btn-login:hover .decquiz-stabilo-purple::before,
.decquiz-stabilo-purple.active::before {
    opacity: 0.6;
    transform: scaleX(1) skewX(-4deg) rotate(-1.5deg);
}

.decquiz-btn-loader {
    position: relative;
    z-index: 1;
    display: none;
    width: 20px;
    height: 20px;
}

.decquiz-btn-loader svg {
    width: 100%;
    height: 100%;
    animation: spin 1.5s linear infinite;
}

.decquiz-btn-loader svg circle {
    stroke: currentColor;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.decquiz-login-bottom-bar {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.decquiz-register-link {
    font-size: 0.875rem;
    line-height: 1.5;
    visibility: visible !important;
    display: block !important;
    opacity: 1 !important;
    margin-top: 20px;
}

.decquiz-register-link-text {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.decquiz-register-link-text:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

.decquiz-login-decoration {
    display: none;
    /* Masquer les décorations pour correspondre au style épuré de la homepage */
}

/* ============================================
   RESPONSIVE - OPTIMISATION MOBILE & TABLETTE
   ============================================ */

/* Tablette (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .decquiz-login {
        padding: 30px 20px;
    }

    .decquiz-login-box {
        padding: 48px 40px;
        max-width: 450px;
    }

    .decquiz-login-title {
        font-size: 2rem;
    }
}

/* Mobile & Tablette (jusqu'à 768px) */
@media (max-width: 768px) {
    .decquiz-login {
        padding: 60px 16px;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
    }

    .decquiz-login-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .decquiz-login-box {
        padding: 32px 24px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .decquiz-login-header {
        margin-bottom: 32px;
    }

    .decquiz-login-logo {
        margin-bottom: 16px;
    }

    .decquiz-login-logo .mqa-custom-logo svg {
        max-width: 140px;
        height: auto;
    }

    .decquiz-login-title {
        font-size: 1.75rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .decquiz-login-subtitle {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .decquiz-login-form {
        margin-bottom: 24px;
    }

    .decquiz-form-group {
        margin-bottom: 24px;
    }

    .decquiz-form-group:last-of-type {
        margin-bottom: 28px;
    }

    .decquiz-form-label {
        font-size: 0.875rem;
        margin-bottom: 10px;
        gap: 8px;
    }

    .decquiz-label-icon {
        font-size: 1rem;
    }

    .decquiz-form-input {
        padding: 14px 16px;
        font-size: 16px;
        /* Évite le zoom automatique sur iOS */
        height: 52px;
        border-radius: 8px;
    }

    .decquiz-password-wrapper .decquiz-form-input {
        padding-right: 52px;
        height: 52px;
    }

    .decquiz-toggle-password {
        right: 12px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }

    .decquiz-eye-icon {
        width: 18px;
        height: 18px;
    }

    .decquiz-form-group-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .decquiz-checkbox-label {
        width: 100%;
    }

    .decquiz-forgot-password {
        align-self: flex-start;
        font-size: 0.875rem;
        width: 100%;
        text-align: left;
    }

    .decquiz-btn-login {
        padding: 16px 32px;
        font-size: 1rem;
        min-height: 52px;
    }

    .decquiz-login-bottom-bar {
        padding-top: 20px;
    }

    .decquiz-register-link {
        font-size: 0.875rem;
        line-height: 1.5;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
        margin-top: 20px;
    }

    /* Masquer les décorations sur mobile */
    .decquiz-login-decoration {
        display: none;
    }
}

/* Mobile petit (jusqu'à 480px) */
@media (max-width: 480px) {
    .decquiz-login {
        padding: 0 12px;
        padding-top: 20px;
        padding-bottom: 24px;
    }

    .decquiz-login-box {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .decquiz-login-header {
        margin-bottom: 24px;
    }

    .decquiz-login-logo {
        margin-bottom: 12px;
    }

    .decquiz-login-logo .mqa-custom-logo svg {
        max-width: 120px;
    }

    .decquiz-login-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .decquiz-login-subtitle {
        font-size: 0.875rem;
    }

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

    .decquiz-form-group:last-of-type {
        margin-bottom: 24px;
    }

    .decquiz-form-label {
        font-size: 0.8125rem;
        margin-bottom: 8px;
    }

    .decquiz-form-input {
        padding: 12px 14px;
        font-size: 16px;
        height: 48px;
    }

    .decquiz-password-wrapper .decquiz-form-input {
        padding-right: 48px;
        height: 48px;
    }

    .decquiz-toggle-password {
        right: 10px;
        padding: 6px;
        min-width: 40px;
        min-height: 40px;
    }

    .decquiz-btn-login {
        padding: 14px 28px;
        font-size: 0.9375rem;
        min-height: 48px;
    }

    .decquiz-checkbox-custom {
        width: 18px;
        height: 18px;
    }

    .decquiz-checkbox-text {
        font-size: 0.8125rem;
    }

    .decquiz-forgot-password {
        font-size: 0.8125rem;
    }
}

/* Très petit mobile (jusqu'à 360px) */
@media (max-width: 360px) {
    .decquiz-login {
        padding: 0 10px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .decquiz-login-box {
        padding: 20px 16px;
    }

    .decquiz-login-title {
        font-size: 1.375rem;
    }

    .decquiz-form-input {
        padding: 12px;
        height: 46px;
    }

    .decquiz-password-wrapper .decquiz-form-input {
        padding-right: 46px;
        height: 46px;
    }

    .decquiz-btn-login {
        padding: 12px 24px;
        min-height: 46px;
    }
}

/* Orientation paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .decquiz-login {
        padding-top: 5px;
        padding-bottom: 20px;
    }

    .decquiz-login-box {
        padding: 24px 20px;
    }

    .decquiz-login-header {
        margin-bottom: 20px;
    }

    .decquiz-login-logo {
        margin-bottom: 12px;
    }

    .decquiz-login-title {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .decquiz-login-subtitle {
        font-size: 0.875rem;
    }

    .decquiz-form-group {
        margin-bottom: 16px;
    }

    .decquiz-form-group:last-of-type {
        margin-bottom: 20px;
    }
}

/* Prévenir le zoom sur focus iOS */
@media (max-width: 768px) {

    .decquiz-form-input,
    .decquiz-form-input[type="text"],
    .decquiz-form-input[type="password"],
    .decquiz-form-input[type="email"] {
        font-size: 16px !important;
    }
}

/* ============================================
   EFFETS STABILO POUR LES LABELS
   ============================================ */

/* Stabilo Jaune */
.decquiz-stabilo-yellow {
    position: relative;
    display: inline-block;
}

.decquiz-stabilo-yellow::before {
    content: '';
    position: absolute;
    bottom: -0.1em;
    left: -0.1em;
    right: -0.1em;
    height: 1em;
    background: #fbbf24;
    opacity: 0;
    transform: scaleX(0) skewX(-4deg) rotate(-1.5deg);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    box-shadow:
        0 2px 6px rgba(251, 191, 36, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0% 40%, 3% 25%, 8% 15%, 15% 10%, 25% 8%, 35% 6%, 45% 8%, 55% 6%, 65% 8%, 75% 10%, 85% 15%, 92% 25%, 100% 40%,
            100% 60%, 92% 75%, 85% 85%, 75% 90%, 65% 92%, 55% 94%, 45% 92%, 35% 94%, 25% 92%, 15% 90%, 8% 85%, 3% 75%, 0% 60%);
    pointer-events: none;
}

.decquiz-form-group:hover .decquiz-stabilo-yellow::before,
.decquiz-form-group:focus-within .decquiz-stabilo-yellow::before {
    opacity: 0.5;
    transform: scaleX(1) skewX(-4deg) rotate(-1.5deg);
}

/* Stabilo Orange */
.decquiz-stabilo-orange {
    position: relative;
    display: inline-block;
}

.decquiz-stabilo-orange::before {
    content: '';
    position: absolute;
    bottom: -0.1em;
    left: -0.1em;
    right: -0.1em;
    height: 1em;
    background: #f97316;
    opacity: 0;
    transform: scaleX(0) skewX(-4deg) rotate(-1.5deg);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    box-shadow:
        0 2px 6px rgba(249, 115, 22, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0% 40%, 3% 25%, 8% 15%, 15% 10%, 25% 8%, 35% 6%, 45% 8%, 55% 6%, 65% 8%, 75% 10%, 85% 15%, 92% 25%, 100% 40%,
            100% 60%, 92% 75%, 85% 85%, 75% 90%, 65% 92%, 55% 94%, 45% 92%, 35% 94%, 25% 92%, 15% 90%, 8% 85%, 3% 75%, 0% 60%);
    pointer-events: none;
}

.decquiz-form-group:hover .decquiz-stabilo-orange::before,
.decquiz-form-group:focus-within .decquiz-stabilo-orange::before {
    opacity: 0.5;
    transform: scaleX(1) skewX(-4deg) rotate(-1.5deg);
}