@font-face {
    font-family: "vazir";
    src: url("../font/FaNumber/Vazir-Medium-FD-WOL.woff2"),
        url("../font/FaNumber/Vazir-Medium-FD-WOL.woff"),
        url("../font/FaNumber/Vazir-Medium-FD-WOL.ttf");
}

body {
    direction: rtl;
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at center, #1a237e 20%, #0a0f3d 80%, #050827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'vazir';
    font-size: 16px;
    padding: 15px;
    box-sizing: border-box;
}
.copyright {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.904);
    font-size: 16px;
    direction: rtl;
    width: 100%;
    text-align: center;
}

.card {
    background: #0a11368f;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0.5rem;
}

.title {
    color: #ffffffd5;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}
.verify-text {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    text-align: center;
}
.back-text {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    display: block;
    width: 100%;
    cursor: pointer;
}

.back-text {
    color: rgb(216, 14, 91);
    font-weight: bold;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to left, #0095ff, transparent);
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 25px;
}

.input-group {
    background: rgba(47, 54, 95, 0.5);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    height: 45px;
}
.verify-group {
    background: transparent;
    margin-left: 20%;
    margin-right: 20%;
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    height: 45px;
}

.input-group input {
    background: transparent;
    font-size: 1.25rem;
    border: none;
    color: white;
    width: 100%;
    padding: 0.5rem;
    outline: none;
    font-family: 'vazir';
    letter-spacing: 5px;
}

.verify-group input {
    background: transparent;
    font-size: 1.5rem;
    border: none;
    color: white;
    width: 20px;
    padding: 0.5rem;
    outline: none;
    font-family: 'vazir';
    border-bottom: 2px solid rgba(252, 249, 252, 0.5);
}


.input-group input::placeholder {
    color: #ffffff6b;
    font-family: 'vazir';
    font-size: 1.25rem;
    letter-spacing: 3px;
}

.phone-icon {
    color: #8890b5;
    margin-left: 0.5rem;
    transform: scale(0.8);
}

.phone-icon svg { 
    margin-top: 14px;
    margin-right: -5px;
}

.bus-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: invert(1);
}

.login-btn {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'vazir';
}

.login-btn:hover {
    background: #0077cc;
}

.resend-btn {
    background-color: transparent;
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
    cursor: pointer;
    border: none;
    font-family: 'vazir';
    font-size: 16px;
}

.input-field {
    width: 50px;
    text-align: center;
    font-size: 20px;
}

.background-bus {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; /* Adjust size as needed */
    height: auto;
    z-index: -1; /* Places it behind other content */
    opacity: 1; /* Makes it subtle in the background */
    filter: brightness(0.8) contrast(0.8); /* Adjusts the visual appearance */
}

.disabled {
    cursor: not-allowed;
    opacity: 0.6; /* Make it look disabled */
}



@media screen and (max-width: 768px) {
    body {
        font-size: 30px;
    }

    .card {
        width: 80%;
        max-width: none;
        padding: 20px;
        margin: 10px;
    }

    .title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .input-group {
        margin-top: -45px;
        margin-bottom: 20px;
    }

    .input-group input {
        font-size: 18px;
        padding: 12px;
    }

    .phone-icon {
        transform: scale(1);
    }

    .login-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .background-bus {
        position: fixed;
        top: 2%; /* Move to top on mobile */
        left: 50%;
        transform: translate(-50%, 0); /* Adjust transform */
        width: 75%; /* Smaller size for mobile */
        opacity: 1; /* Slightly more visible on mobile */
    }

    .copyright {
        bottom: 10px;
        font-size: 16px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .card {
        width: 95%;
        padding: 15px;
        margin: 5px;
    }

    .title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .input-group {
        margin-bottom: 15px;
    }

    .input-group input {
        font-size: 18px;
        padding: 10px;
    }

    .login-btn {
        padding: 10px;
        font-size: 13px;
    }
}

