﻿@font-face {
    font-family: "Iransans";
    src: url('/Fonts/IRANSansWeb.ttf'), url('/Fonts/IRANSansWeb.eot'); /* IE9+ */
}
* {
    font-family: Iransans !important;
    box-sizing: border-box;
    font-family: sans-serif;
}

html, body {
    font-family: Iransans !important;
    height: 100%;
    margin: 0;
    padding: 0;
}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.login-container {
    width: 90%;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
    position: fixed; /* یا absolute هم میشه */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.language-select {
    text-align: right;
    margin-bottom: 65px;
}

    .language-select select {
        padding: 7px 14px;
        border-radius: 3px;
        cursor: pointer;
    }



.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.captcha {
    height: 40px;
    margin-left: 10px;
}

.refresh {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white;
}

.submit-btn {
    width: 50%;
    padding: 12px;
    background: #284b64;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.speaker-img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    height: 100px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px;
        margin-top: 50px;
    }

    .speaker-img {
        height: 80px;
        right: 10px;
    }
}


.input-box {
    position: relative;
}

    .input-box input {
        width: 100%;
        padding: 10px 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid #fff;
        color: #8DD8FF;
        transition: all 0.3s ease;
    }

        .input-box input:focus {
            outline: none;
            border-bottom: 1px solid #8DD8FF;
        }

    .input-box label {
        position: absolute;
        top: 10px;
        right: 0;
        color: #fff;
        font-size: 13px;
        pointer-events: none;
        transition: 0.3s ease;
    }

    .input-box input:focus + label,
    .input-box input:not(:placeholder-shown) + label {
        top: -14px;
        right: -12px;
        font-size: 13px;
        color: #8DD8FF;
    }

.underline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: #8DD8FF;
    transition: 0.4s ease;
}

.input-box input:focus ~ .underline {
    width: 100%;
}
/* دکمه با افکت پالس */
.btn-pulse {
    color: white !important;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 16px;
}

    .btn-pulse::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent) !important;
        transition: all 0.5s ease;
    }

    .btn-pulse:hover::before {
        left: 100%;
    }

    .btn-pulse:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(74, 144, 226, 0.4) !important;
    }

