.ctp-ticket {
    min-width: 520px;
    max-width: 520px;
    margin-top: 40px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    font-family: sans-serif;
}

.ctp-ticket-header {
    background: linear-gradient(135deg, #5b5b5b, #1f2937);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.ctp-ticket-header h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 1px;
}

.ctp-ticket-body {
    padding: 20px;
}

.ctp-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.ctp-row span:first-child {
    color: #6b7280;
}

.ctp-row span:last-child {
    font-weight: 600;
}

.ctp-divider {
    margin: 20px 0;
    border-top: 2px dashed #e5e7eb;
    position: relative;
}

.ctp-divider::before,
.ctp-divider::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #f3f4f6;
    border-radius: 50%;
    position: absolute;
    top: -9px;
}

.ctp-divider::before {
    left: -8px;
}

.ctp-divider::after {
    right: -8px;
}

.ctp-ticket-footer {
    background: #f9fafb;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #374151;
}

.ctp-tracking {
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 12px;
}

.ctp-download-btn {
    display: inline-block;
    background: #3b4148;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.ctp-download-btn:hover, .ctp-download-btn:focus {
    background: #28303c;
}

@media (max-width: 768px) {
    .ctp-ticket {
        min-width: 100%;
        max-width: 100%;
    }
}

@media print {
    body {
        background: #fff;
    }

    .ctp-download-btn, header.elementor-location-header, footer.elementor-location-footer {
        display: none !important;
    }

    .ctp-ticket {
        box-shadow: none;
        border: 1px dashed #000;
        width: 100%;
    }
}
