/* DIRECTOR SLATE - Exact Match to Screenshot */

/* Remove all the fancy effects from other CSS files */
.director-slate::before,
.director-slate::after {
    display: none !important;
}

.director-slate {
    display: inline-block !important;
    background: #132545 !important; /* Dark blue background */
    border: none !important;
    border-radius: 0 !important;
    padding: 8px 15px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5) !important;
    transform: skewX(-10deg) !important;
    animation: slideInLeft 1s ease-out !important;
}

/* Labels (SCENE, TAKE) */
.slate-top {
    display: flex !important;
    justify-content: space-between !important;
    gap: 0 !important;
    margin-bottom: 5px !important;
    transform: skewX(10deg) !important; /* Unskew the text */
}

.slate-top span {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 10px !important;
    font-weight: normal !important;
    letter-spacing: 1px !important;
    color: #94a3b8 !important; /* Light blue/gray for labels */
    text-transform: uppercase !important;
    font-style: italic !important;
    margin-right: 10px;
}

/* Numbers */
.slate-numbers {
    display: flex !important;
    justify-content: space-between !important;
    gap: 0 !important;
    transform: skewX(10deg) !important; /* Unskew the text */
}

.slate-numbers span {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 20px !important;
    padding: 5px 10px!important;
    font-weight: bold !important;
    color: #FF8500 !important; /* Orange numbers */
    text-transform: uppercase !important;
    line-height: 1 !important;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 133, 0, 0.5) !important;
    min-width: auto !important;
    font-style: italic !important;
}

/* Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) skewX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) skewX(-10deg);
    }
}

/* Make the take number pulse subtly */
#takeNumber {
    animation: subtlePulse 2s ease-in-out infinite !important;
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 1;
        text-shadow:
            2px 2px 0 rgba(0, 0, 0, 0.5),
            0 0 30px rgba(255, 133, 0, 0.5);
    }
    50% {
        opacity: 0.9;
        text-shadow:
            2px 2px 0 rgba(0, 0, 0, 0.5),
            0 0 40px rgba(255, 133, 0, 0.7);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .director-slate {
        width: 120px !important;
        max-width: 120px !important;
        padding: 6px 12px !important;
    }

    .slate-top span {
        font-size: 9px !important;
    }

    .slate-numbers span {
        font-size: 20px !important;
    }
}