/**
 * awesome-woocommerce-event-ticketing/assets/css/awet-frontend.css
 * Fichier de styles global pour le front-end de l'extension
 */
 
.page-id-125 .entry-content {
    margin-top: 20px !important;
}

/*======================================
// ANIMATION ET STYLE DU SCANNER CAMÉRA ACTIVE
// templates/awet-template-scan-active.php
// Animation de la ligne de scan et conteneur vidéo
//=======================================*/
.awet-scan-active-scanner-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    font-family: sans-serif;
}

.awet-scan-active-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    line-height: 0;
}

.awet-scan-active-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.awet-scan-active-scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
    z-index: 2;
}

.awet-scan-active-scanner-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    margin: -110px;
    border: 2px solid #2271b1;
    box-shadow: 0 0 0 1000px rgba(0,0,0,0.5);
    border-radius: 15px;
}

.awet-scan-active-scanner-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 3px;
    background: #2271b1;
    box-shadow: 0 0 12px #2271b1;
    margin-left: -100px;
    animation: awet-scan-line 2.5s infinite ease-in-out;
}
@keyframes awet-scan-line {
    0% { transform: translateY(-110px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(110px); opacity: 0; }
}

.awet-scan-active-wait-box {
    margin-top: 20px;
    padding: 30px;
    border: 2px dashed #ccc;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0);
}

.awet-scan-active-icon-wrapper {
    width: 60px;
    margin-bottom: 5px;
    display: inline-block;
}

.awet-scan-active-title {
    margin: 0 0 10px 0;
}

.awet-scan-active-description {
    margin-bottom: 20px;
}

.awet-scan-active-start-btn {
    background: #2271b1;
    color: #ffffff;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    font-size: 16px;
}

.awet-scan-active-loading-msg {
    display: none;
    padding: 60px 20px;
    font-size: 22px;
    font-weight: bold;
    color: #2271b1;
}

.awet-scan-active-flash-fixed-container {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
    pointer-events: none;
}

.awet-scan-active-toggle-flash-btn {
    display: none;
    pointer-events: auto;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #385FB0;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.awet-scan-active-flash-icon-wrapper {
    width: 30px;
    display: inline-block;
}

.awet-scan-active-logout-wrapper {
    margin-top: 60px;
    padding-bottom: 30px;
    text-align: center;
}

.awet-scan-active-logout-link {
    font-size: 13px;
    color: #666666;
    text-decoration: underline;
    opacity: 0.8;
}






/*======================================
// STYLE DES RESULTATS DE SCAN
// templates/awet-template-scan-result.php
// Conteneur global, cartes de billets et boutons de réinitialisation
//=======================================*/
/*======================================
// STYLE DES RÉSULTATS DE SCAN
// templates/awet-template-scan-result.php
//=======================================*/
.awet-scan-result-container { 
    padding: 20px 20px !important; 
    border-radius: 15px; 
    text-align: center; 
    color: white; 
    font-family: sans-serif; 
    min-height: 630px !important; 
    height: 630px !important; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.awet-scan-result-valid { background: #10b981 !important; }
.awet-scan-result-warning { background: #f59e0b !important; }
.awet-scan-result-error { background: #ef4444 !important; }

.awet-scan-result-icon { 
    width: 80px; 
    display: inline-block; 
    margin-bottom: 10px; 
}

.awet-scan-result-title {
    color: white;
    margin: 0;
}

.awet-scan-result-ticket-card { 
    background: rgba(0, 0, 0, 0.2); 
    padding: 20px; 
    border-radius: 12px; 
    margin: 30px auto; 
    width: 100%; 
    max-width: 350px; 
    text-align: left; 
}

.awet-scan-result-row { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding: 12px 0; 
}

.awet-scan-result-row-last {
    border: none;
}

.awet-scan-result-label { 
    opacity: 0.8; 
    font-size: 11px; 
    font-weight: bold; 
}

.awet-scan-result-val { 
    font-weight: 800; 
    font-size: 16px; 
}

.awet-scan-result-reset-btn { 
    display: block; 
    background: white; 
    color: #333; 
    text-decoration: none; 
    padding: 20px; 
    border-radius: 10px; 
    font-weight: 900; 
    margin-top: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}




/*======================================
// STYLE DU MENU TICKET DANS MYACCOUNT
// templates/awet-template-myaccount-tickets.php
// Interface, les cartes Ticket le CSS complet
//=======================================*/
.awet-myaccount-tickets-title {
    margin-bottom: 25px;
    font-weight: 700;
}

.awet-myaccount-ticket-wrapper {
    border: 1px solid #11141830;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
    transition: transform 0.2s ease-in-out;
}

.awet-myaccount-ticket-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.awet-myaccount-ticket-info {
    flex: 1;
}

.awet-myaccount-ticket-event-name {
    font-size: 1.1em;
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.awet-myaccount-ticket-type-text {
    color: #333;
    font-size: 14px;
}

.awet-myaccount-ticket-type-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: none;
}

.awet-myaccount-ticket-status-badge {
    display: inline-block;
    margin-top: 8px;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.awet-myaccount-ticket-qrcode-area {
    text-align: center;
    min-width: 130px;
    margin-left: 15px;
}

.awet-myaccount-ticket-scan-hint {
    font-size: 10px;
    color: #333333;
    display: block;
}

.awet-myaccount-ticket-status-used {
    color: #f59e0b;
    font-weight: bold;
}

.awet-myaccount-ticket-status-expired {
    color: #6b7280;
    font-weight: bold;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .awet-myaccount-ticket-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .awet-myaccount-ticket-image {
        margin-right: 0;
        margin-bottom: 5px;
        width: 60px;
        height: 60px;
    }
    .awet-myaccount-ticket-qrcode-area {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
}





