/* License Plate Styles */
.license-plate {
    width: 420px;
    height: 100px;
    background: white;
    border: 2px solid #000;
    border-radius: 5px;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Glossy/plexiglass effect overlay */
.license-plate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%
        ),
        linear-gradient(to top,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            rgba(255, 255, 255, 0) 100%
        );
    border-radius: 5px;
    z-index: 10;
}

/* Top shine effect */
.license-plate::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 5px 5px 0 0;
    z-index: 11;
}

.plate-left {
    width: 50px;
    background: #1f77c0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eu-band {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eu-stars-circle {
    position: relative;
    width: 35px;
    height: 35px;
    margin-bottom: 8px;
}

.star {
    position: absolute;
    font-size: 6px;
    color: #ffd700;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-14px);
}

.eu-text {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transform: scaleY(1.2);
}

.plate-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.plate-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plate-text {
    font-size: 48px;
    font-weight: bold;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 2px;
    color: #000;
    white-space: nowrap;
    transform: scaleY(1.8) translateY(-0.75px);
}

.plate-custom-text {
    font-size: 10px;
    font-weight: bold;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    white-space: nowrap;
    margin-top: 0px;
    letter-spacing: 0.5px;
}

.plate-right {
    width: 50px;
    background: #1f77c0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dept-band {
    text-align: center;
    color: white;
    padding: 5px;
}

.dept-number {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transform: scaleY(1.2);
}

/* 3-digit department layout (DOM-TOM) */
.dept-number.three-digit {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    gap: 2px;
}

.dept-number.three-digit .left-digits {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    font-size: 20px;
}

.dept-number.three-digit .right-digit {
    font-size: 40px;
    line-height: 1;
}

.region-logo {
    width: 40px;
    height: auto;
    margin-top: 10px;
}

/* Logo margin for DOM-TOM (3-digit departments) */
.dept-band:has(.three-digit) .region-logo {
    margin-top: 5px;
}

/* Reduced gap between football logo and dept number */
.license-plate.plate-football .region-logo {
    margin-top: 5px;
    margin-bottom: -5px;
}

/* Black bands variant */
.license-plate.plate-black .plate-left,
.license-plate.plate-black .plate-right {
    background: #000;
}
