﻿/*=========================================
    Veterinary Inspection Design System
==========================================*/

:root {
    /* Colors */

    --primary: #1FA65A;
    --primary-dark: #158947;
    --primary-light: #DDF7E7;
    --secondary: #4CAF50;
    --white: #ffffff;
    --background: #F4F8F7;
    --text: #243746;
    --text-light: #7A8A99;
    --border: #E6ECEA;
    --danger: #E53935;
    --shadow: 0 20px 50px rgba(0,0,0,.08);
    --shadow-hover: 0 30px 70px rgba(0,0,0,.12);
    --radius: 24px;
    --radius-small: 16px;
    --transition: .35s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'BNazanin';
    src: url('../fonts/BNazanin.eot') format('embedded-opentype');
}

@font-face {
    font-family: 'BNazanin';
    src: url('../fonts/BNazanin.ttf') format('truetype');
}

@font-face {
    font-family: 'BNazanin';
    src: url('../fonts/BNazanin.woff') format('woff');
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}



body {
    color: var(--text);
    direction: rtl;
    font-family: BNazanin,Vazirmatn,Tahoma;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient( rgba(248,252,250,.75), rgba(248,252,250,.75) ), url("../images/ostan.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

    body::before {
        content: "";
        position: fixed;
        left: -250px;
        top: -200px;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: #9ff4bc;
        filter: blur(120px);
        opacity: .35;
    }

    body::after {
        content: "";
        position: fixed;
        right: -150px;
        bottom: -150px;
        width: 450px;
        height: 450px;
        background: #8ce6ff;
        border-radius: 50%;
        filter: blur(120px);
        opacity: .20;
    }

.page {
    width: 100%;
    height:65vh;    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 570px;
   
    padding:20px 55px;
    border-radius: 32px;
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 30px 80px rgba(0,0,0,.10);
    position: relative;
    overflow: hidden;
    top:20px;
   
}

    .login-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
    }

.logo-wrapper {
    width: 140px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: -60px;
    box-shadow: 0 0 0 10px rgba(255,255,255,.25), 0 25px 50px rgba(31,166,90,.25);
    transition: .5s;
}

    .logo-wrapper:hover {
        transform: translateY(-8px) rotate(5deg);
    }

    .logo-wrapper img {
        width:150px;
        height:150px;
    }

h1 {
    font-family: BNazanin;
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 0px;
    text-align: center;
}

p {
    font-family: BNazanin;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 21px;
    line-height: 28px;
    color: #7e8d98;
    margin-bottom: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 48px;
    padding: 0 18px;
    background: rgba(255,255,255,.65);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.5);
    margin-bottom: 12px;
    transition: .35s;
}

    .input-group:focus-within {
        transform: translateY(-2px);
        border-color: #22A652;
        box-shadow: 0 15px 35px rgba(34,166,82,.18);
        background: white;
    }

    .input-group i {
        font-size: 20px;
        color: #9BA7AF;
        transition: .3s;
    }

    .input-group:focus-within i {
        color: #22A652;
    }
    /* TextBox */ .input-group input, .input-group .aspNetDisabled {
        width: 100%;
        border: none;
        background: transparent;
        outline: none;
        font-size: 16px;
        color: #243746;
        font-family: inherit;
        text-align:right;
    }

        .input-group input::placeholder {
            color: #98A6B3;
        }
/* Login Button */

.login-button {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #22A652, #169046);
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .35s;
    margin-top: 10px;
    box-shadow: 0 15px 35px rgba(34,166,82,.28);
}

    .login-button:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(34,166,82,.35);
    }

    .login-button:active {
        transform: scale(.98);
    }
/* Options */

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 10px;
    font-size: 14px;
}

    .options a {
        color: #22A652;
        text-decoration: none;
        font-weight: 600;
    }
/* Security */

.security {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #5F6C76;
    font-size: 14px;
    background: rgba(34,166,82,.08);
    padding: 12px;
    border-radius: 14px;
}

.textbox {
    margin-bottom: 14px;
}

    .textbox label {
        display: block;
        margin-bottom: 12px;
        font-size: 17px;
        color: #768391;
        font-weight: 600;
        text-align:right;
    }

.textbox-body {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid #E4ECE9;
    padding-bottom: 12px;
    transition: .35s;
}

    .textbox-body i {
        width: 28px;
        font-size: 18px;
        color: #A6B2BC;
        transition: .35s;
    }

    .textbox-body:focus-within i {
        color: #20A457;
    }

    .textbox-body input {
        width: 100%;
        height:40px;
        border: none;
        outline: none;
        background: transparent;
        font-size: 17px;
        font-family: inherit;
        color: #243746;
    }

        .textbox-body input::placeholder {
            color: #B6C0C8;
        }

/* Responsive */

@media (max-width:768px) {
    .login-card {
        width: 100%;
        max-width: 420px;
        padding: 40px 25px;
    }

    h1 {
        font-size: 26px;
    }
}
