﻿@font-face {
    font-family: "dana";
    src: url("../fonts/dana/dana-fanum-bold.woff2") format('woff2');
    font-weight: bold;
}
@font-face {
    font-family: "noora";
    src: url("../fonts/noora/Noora-Regular.woff") format('woff2');
    font-weight: bold;
}
body, html {
    height: 100%;
    margin: 0;
    font-family: 'noora', sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    overflow: hidden;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.circle1 {
    width: 400px;
    height: 400px;
    background: #00e5ff;
    top: -120px;
    right: -100px;
}

.circle2 {
    width: 250px;
    height: 250px;
    background: #00c853;
    bottom: -80px;
    left: -80px;
}

.circle3 {
    width: 180px;
    height: 180px;
    background: #ffc400;
    top: 30%;
    left: 40%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.login-container {
    position: absolute;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* وسط‌چینی کامل */

    z-index: 10;
    max-width: 400px;
    width: 100%;
    backdrop-filter: blur(12px);
    text-align: center;
    /* حالت اولیه انیمیشن */
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 60px));
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.form-group input {
    width: 100%;
    padding: 12px 45px 12px 12px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #444;
    transition: all 0.3s ease;
    
}
    .form-group input:focus {
        outline: none;
        box-shadow: 0 0 8px rgba(0, 188, 212, 0.4);
        background: #fff;
    }
.login-box .image-logo {
    width: 120px;
    margin-bottom: 20px;
}


.login-box {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

    .login-box h2 {
        font-weight: 700;
        margin-bottom: 25px;
        color: #333;
        display: block;
        font-size: 1.5em;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
        unicode-bidi: isolate;
        font-family: 'dana';
    }

.form-control {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding-right: 40px;
    font-size: 16px;
}

.form-group .bi-icone {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.login-btn {
    background: linear-gradient(45deg, #00bcd4, #009688);
    border: none;
    color: white;
    font-size: 16px;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    transition: 0.3s;
}

    .login-btn:hover {
        background: linear-gradient(45deg, #009688, #00796b);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
     
}

    .footer-link a {
        color: #00796b;
        text-decoration: underline;
    }

@media (max-width: 575.98px) {
    .login-box {
        padding: 30px 20px;
    }

    .form-control {
        font-size: 15px;
    }
}

.togglePassword {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}
.cursor-pointer {
    cursor: pointer;
}
.dirtextltr {
    text-align: left !important;
    direction: ltr;
}
.error-text {
    text-align: right;
    font-size: 12px;
}
.font-12{
    font-size:12px;
}
dl, ol, ul{
    list-style:none;
}