/* ATM Trasporti Milanesi Styles */
* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

body {
    background: #1a1a1a;
    color: #fff;
    margin: 0;
    text-align: center;
    overflow-x: hidden;
}

.warning-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: repeating-linear-gradient(-45deg, #ff6600, #ff6600 50px, #1a1a1a 50px, #1a1a1a 100px);
    opacity: 0.15;
}

.container-box {
    max-width: 650px;
    margin: 40px auto;
    background: #fff;
    color: #111;
    padding: 30px;
    border: 8px solid #ff6600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    position: relative;
    z-index: 10;
}

.header {
    border-bottom: 5px solid #ff6600;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.logo-text {
    font-family: 'Teko', sans-serif;
    font-size: 6rem;
    margin: 0;
    color: #ff6600;
    letter-spacing: 5px;
    line-height: 1;
    text-shadow: 2px 2px 0px #000;
}

.header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    color: #333;
}

.form-container {
    padding: 10px 0;
}

.form-container h3 {
    font-size: 1.1rem;
    color: #cc0000;
    margin-bottom: 25px;
    font-weight: bold;
    background: #ffeeee;
    padding: 10px;
    border: 2px solid #cc0000;
}

.input-line {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1rem;
}

input,
select {
    width: 100%;
    border: 3px solid #ccc;
    padding: 15px;
    font-weight: bold;
    background: #f9f9f9;
    color: #000;
    font-size: 1.2rem;
    border-radius: 5px;
}

input:focus,
select:focus {
    background: #fff;
    border-color: #ff6600;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: #ff6600;
    color: #fff;
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.2s;
    box-shadow: 0 8px 0 #cc5200;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background: #ff7719;
    transform: translateY(3px);
    box-shadow: 0 5px 0 #cc5200;
}

.submit-btn:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 #cc5200;
}

.overlay,
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay {
    background: rgba(26, 26, 26, 0.95);
}

.modal {
    background: rgba(0, 0, 0, 0.9);
}

.hidden {
    display: none !important;
}

.spinner {
    font-size: 6rem;
    animation: steerWheel 0.6s infinite alternate ease-in-out;
}

@keyframes steerWheel {
    0% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

#loading-text {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    margin-top: 20px;
    color: #ff6600;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #000;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border: 15px solid #cc0000;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(204, 0, 0, 0.8);
    animation: shakeModal 0.1s infinite alternate;
    color: #111;
}

@keyframes shakeModal {
    0% {
        transform: translate(3px, 3px) rotate(1deg);
    }

    100% {
        transform: translate(-3px, -3px) rotate(-1deg);
    }
}

.error-title {
    color: #cc0000;
    font-family: 'Teko', sans-serif;
    font-size: 6rem;
    margin: 0;
    line-height: 0.9;
    text-shadow: 3px 3px 0px #000;
}

.modal-content p {
    font-size: 1.3rem;
    margin-top: 20px;
    font-weight: bold;
}

.download-btn {
    display: inline-block;
    padding: 20px 40px;
    background: #111;
    color: #ff6600;
    font-family: 'Teko', sans-serif;
    text-decoration: none;
    font-size: 2.5rem;
    margin: 30px 0 10px 0;
    border-radius: 10px;
    transition: 0.2s;
    border: 4px solid #ff6600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.download-btn:hover {
    background: #ff6600;
    color: #111;
    border-color: #111;
    animation: none;
}