@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
}
.ticket {
    border-left: 4px solid #0069D9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.ticket {
    border-left: 4px solid #00C853;
    background: linear-gradient(135deg, #0069D9 0%, #003366 100%);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.3);
}

.ticket::after {
content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #00C853;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.ticket button {
    transition: all 0.2s ease;
    background: #00C853;
    color: white;
    border: 2px solid #00C853;
}
metro-active-ticket .ticket {
    border-left: 4px solid #00C853;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.3);
}

metro-active-ticket .ticket::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #00C853;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

metro-active-ticket button {
    background: #00C853 !important;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.ticket-perforation {
    background-image: radial-gradient(circle at 50% 50%, #FFFFFF 25%, transparent 25%);
    background-size: 10px 20px;
}

.fade-seconds {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    display: inline-block;
    width: 24px;
    text-align: left;
}
@media (max-width: 768px) {
    .ticket {
        transform: scale(0.9);
    }
}