/* Sent page - snt- prefix */

/* 1. TRANSITION OVERLAY */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    z-index: 9999;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1.5s cubic-bezier(0.85, 0, 0.15, 1);
}

    .page-transition-overlay.active {
        clip-path: circle(150% at 50% 50%);
    }

/* 2. PAGE LAYOUT */
.snt-page-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);    
}

.snt-container {
    max-width: 1200px;
    margin: 0 auto;    
}

/* 3. INTRO CARD */
.snt-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: sntFadeInUp 0.4s ease-out forwards;
}

.snt-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
}

    .snt-success-icon i {
        font-size: 2.50rem;
        color: #059669;
    }

.snt-header-content h1 {
    margin: 0 0 6px 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
}

.snt-header-content p {
    margin: 0;
    font-size: 1.00rem;
    color: #64748b;
}

/* Success Badge */
.snt-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}

/* 4. EMPTY STATE */
.snt-empty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    animation: sntFadeInUp 0.4s ease-out forwards;
}

.snt-empty-icon {
    font-size: 3.50rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.snt-empty-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

/* 5. PAYMENT SUMMARY CARD */
.snt-payment-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    animation: sntFadeInUp 0.4s ease-out forwards;
    animation-delay: 0.05s;
    opacity: 0;
}

.snt-payment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px 0 24px;
}

    .snt-payment-header i {
        font-size: 1.38rem;
        color: var(--primary-color, #E40E18);
    }

    .snt-payment-header h3 {
        font-size: 1.13rem;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

.snt-payment-body {
    padding: 16px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snt-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.snt-payment-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.94rem;
    color: #64748b;
    font-weight: 500;
}

.snt-payment-value {
    font-size: 0.94rem;
    color: #1e293b;
    font-weight: 600;
}

/* Discount row */
.snt-row-discount {
    background: rgba(5, 150, 105, 0.06);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 2px -12px;
}

.snt-discount-icon {
    font-size: 1.00rem;
    color: #059669;
}

.snt-row-discount .snt-payment-label {
    color: #059669;
}

.snt-value-discount {
    color: #059669;
    font-weight: 700;
}

/* Divider */
.snt-payment-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

/* Total row */
.snt-row-total .snt-payment-label {
    font-size: 1.06rem;
    font-weight: 700;
    color: #1e293b;
}

.snt-row-total .snt-payment-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color, #E40E18);
}

/* Payment method */
.snt-payment-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
    margin-top: 4px;
}

    .snt-payment-method i {
        font-size: 1.25rem;
        color: #475569;
    }

    .snt-payment-method span {
        font-size: 0.88rem;
        font-weight: 600;
        color: #475569;
    }

/* 6. COMPANY CARD */
.snt-company-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 16px;
    animation: sntFadeInUp 0.4s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.snt-company-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.snt-company-info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.snt-company-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

    .snt-company-logo img {
        width: 100%;
        object-fit: cover;
    }

.snt-company-text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1e293b;
}

.snt-company-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.88rem;
    margin-top: 2px;
}

    .snt-company-meta i {
        font-size: 1.00rem;
        color: #94a3b8;
    }

.snt-social-links {
    display: flex;
    gap: 8px;
}

.snt-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

    .snt-social-btn:hover {
        background: #e2e8f0;
    }

    .snt-social-btn img {
        width: 20px;
        height: 20px;
    }

/* 7. TICKET CARD */
.snt-ticket-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    animation: sntFadeInUp 0.4s ease-out forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

    .snt-ticket-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.snt-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.snt-ticket-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1e293b;
}

.snt-ticket-title p {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0;
}

.snt-price-badge {
    background: color-mix(in srgb, var(--primary-color), transparent 90%);
    color: var(--primary-color, #E40E18);
    padding: 8px 16px;
    border-radius: 12px;
    text-align: right;
    border: 1px solid color-mix(in srgb, var(--primary-color), transparent 15%);
    flex-shrink: 0;
}

    .snt-price-badge span {
        display: block;
        font-size: 0.75rem;
        color: #64748b;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .snt-price-badge strong {
        display: block;
        font-size: 1.38rem;
        font-weight: 700;
    }

.snt-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

/* 8. DETAILS GRID */
.snt-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.snt-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
}

.snt-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

    .snt-icon-circle i {
        font-size: 1.25rem;
        color: var(--primary-color, #E40E18);
    }

.snt-detail-text {
    display: flex;
    flex-direction: column;
}

.snt-detail-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.snt-detail-value {
    font-size: 1.00rem;
    font-weight: 600;
    color: #1e293b;
}

.snt-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* 9. ACTIONS */
.snt-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    animation: sntFadeInUp 0.4s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.snt-btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-color, #E40E18);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.00rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color), transparent 35%);
}

    .snt-btn-home:hover {
        opacity: 0.9;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-color), transparent 65%);
        color: white;
        text-decoration: none;
    }

    .snt-btn-home i {
        font-size: 1.25rem;
    }

/* --- SESSÃO DE CONVITES DA TELA SENT --- */
.snt-invites-wrapper {
    padding: 0 10px 10px 10px;
}

    .snt-invites-wrapper h4 {
        font-size: 1.1rem;
        color: #1e293b;
        margin-bottom: 5px;
        font-weight: 700;
    }

    .snt-invites-wrapper p {
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 15px;
    }

.snt-invite-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snt-invite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.snt-invite-info {
    display: flex;
    flex-direction: column;
}

.snt-invite-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: bold;
}

.snt-invite-code {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155;
    margin-top: 2px;
}

.snt-invite-status-ok {
    color: #16a34a; /* Verde para sucesso */
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .snt-invite-status-ok i {
        font-size: 1.1rem;
    }

.snt-invite-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background-color: var(--primary-color, #1e293b);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

    .snt-invite-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    .snt-invite-btn.copied {
        background-color: #16a34a; /* Verde quando copiado */
    }

/* 10. ANIMATIONS */
@keyframes sntFadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 11. RESPONSIVE */
@media (min-width: 768px) {
    .snt-details-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .snt-container {
        padding: 16px;
    }

    .snt-intro {
        padding: 24px 20px;
    }

    .snt-header-content h1 {
        font-size: 1.50rem;
    }

    .snt-company-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .snt-ticket-header {
    }

    .snt-price-badge {
        text-align: left;
        align-self: flex-start;
    }

    .snt-payment-card,
    .snt-company-card,
    .snt-ticket-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .snt-container {
        padding: 12px;
    }

    .snt-intro {
        padding: 20px 16px;
    }

    .snt-success-icon {
        width: 56px;
        height: 56px;
    }

        .snt-success-icon i {
            font-size: 2.00rem;
        }

    .snt-header-content h1 {
        font-size: 1.25rem;
    }

    .snt-details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .snt-company-text h2 {
        font-size: 1.06rem;
    }

    .snt-ticket-title h3 {
        font-size: 1.06rem;
    }

    .snt-btn-home {
        width: 100%;
    }

    .snt-row-total .snt-payment-value {
        font-size: 1.13rem;
    }
}
