﻿/* ریست اولیه */
/*@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: #9cddf7;
    background: linear-gradient(180deg,rgba(156, 221, 247, 1) 0%, rgba(221, 240, 229, 1) 50%, rgba(242, 241, 233, 1) 100%);
    background-size: cover;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(35, 29, 29, 0.353);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
    position: relative;
}

.form_main {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgb(255, 255, 255);
    padding: 30px 30px 30px 30px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.062);
    position: relative;
    overflow: hidden;
}

.logo {
    width: 100px;
    height: auto;
}

.heading-title {
    font-size: 18px;
    z-index: 1;
    color: #2e2e2e;
}

.heading {
    font-size: 20px;
    color: #2e2e2e;
    font-weight: 700;
    margin: 5px 0 10px 0;
    z-index: 2;
}

.inputContainer {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.inputIcon {
    position: absolute;
    left: 3px;
}

.inputField {
    width: 100%;
    height: 35px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid rgb(173, 173, 173);
    margin: 10px 0;
    color: black;
    font-size: 0.8em;
    font-weight: 500;
    box-sizing: border-box;
    padding: 15px 5px;
    outline: none;
}

    .inputField:focus {
        outline: none;
        border-bottom: 2px solid #000000;
        transition: all 0.8s ease;
    }

#button {
    z-index: 2;
    position: relative;
    width: 100%;
    border: none;
    background-color: rgb(0 0 0);
    height: 35px;
    color: white;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 10px;
    cursor: pointer;
}

.login-btn {
    padding: 5px;
    border-radius: 10px;
    height: 30px;
    width: 100%;
    cursor: pointer;
}

.footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    z-index: 1;
}

    .footer a {
        color: #1a73e8;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .login-container {
        max-width: 90%;
    }

    h2 {
        font-size: 1.3rem;
    }
}

/*@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}*/

.error {
    color: #d32f2f;
    margin-bottom: 15px;
    font-size: 14px;
}
.code-input {
    width: 50px;
    height: 50px;
    margin: 5px;
    text-align: center;
    font-size: 18px;
}
.inputContainer-2 {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-direction: row-reverse;
}