﻿@font-face {
    font-family: 'BYekan';
    src: url('../../Fonts/BYekan-webfont.eot') format('eot'), url('../../Fonts/BYekan-webfont.woff') format('woff'), url('../../Fonts/BYekan-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --gold: #D4AF37;
    --gold-light: #F4E4A6;
    --gold-dark: #B8860B;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #333333;
    --text-color: #444444;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'BYekan';
}

body {
    background: linear-gradient(135deg, #f9f5eb 0%, #f0e6d3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-color);
}

.login-container {
    background-color: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    display: flex;
    position: relative;
    animation: fadeIn 1s ease;
}

.login-form {
    padding: 50px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border: 4px solid var(--white);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px dashed var(--gold);
    top: -10px;
    left: -10px;
    animation: rotate 20s linear infinite;
}

.logo img {
    width: 70px;
    height: 70px;
    /*filter: brightness(0) invert(1);*/
}

.login-title {
    color: var(--dark-gray);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

    .login-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 0;
        width: 60%;
        height: 3px;
        background: linear-gradient(to left, var(--gold), var(--gold-light));
        border-radius: 3px;
    }

.login-subtitle {
    color: var(--gold-dark);
    font-size: 16px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    background-color: var(--light-gray);
    font-size: 16px;
    transition: all 0.4s ease;
    color: var(--dark-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

    .form-control:focus {
        border-color: var(--gold);
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
        background-color: var(--white);
        transform: translateY(-3px);
    }

.form-label {
    position: absolute;
    top: 18px;
    right: 25px;
    color: #888;
    font-size: 16px;
    transition: all 0.4s ease;
    pointer-events: none;
    background-color: var(--light-gray);
    padding: 0 8px;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: -10px;
    right: 15px;
    font-size: 13px;
    color: var(--gold-dark);
    background-color: var(--white);
    font-weight: 600;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 18px;
}

.btn-login {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

    .btn-login::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .btn-login:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(212, 175, 55, 0.6);
    }

        .btn-login:hover::before {
            opacity: 1;
        }

    .btn-login:active {
        transform: translateY(-2px);
    }

.login-links {
    text-align: center;
    margin-top: 25px;
}

    .login-links a {
        color: var(--gold-dark);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        padding-bottom: 3px;
        display: inline-block;
        margin: 0 10px;
    }

        .login-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background-color: var(--gold);
            transition: width 0.3s ease;
        }

        .login-links a:hover {
            color: var(--gold);
        }

            .login-links a:hover::after {
                width: 100%;
            }

.form-decoration {
    flex: 0.45;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.decoration-content {
    text-align: center;
    color: var(--white);
    padding: 30px;
    z-index: 1;
    direction: ltr;
}

.decoration-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.decoration-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    text-align: right;
    direction: ltr;
}

    .features-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: row-reverse;
    }

    .features-list i {
        margin-left: 10px;
        margin-right: 0;
        font-size: 18px;
        background-color: rgba(255, 255, 255, 0.2);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .features-list span {
        text-align: right;
    }

.gold-ornament {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.gold-ornament-1 {
    width: 200px;
    height: 200px;
    top: -80px;
    left: -80px;
    animation: float 8s ease-in-out infinite;
}

.gold-ornament-2 {
    width: 300px;
    height: 300px;
    bottom: -120px;
    right: -120px;
    animation: float 10s ease-in-out infinite;
}

.validation-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    display: block;
    text-align: right;
    font-weight: 500;
}

.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.alert p{
padding-top:15px;
}

.alert-danger {
    background-color: #ffeaea;
    color: #d63031;
    border-right: 4px solid #d63031;
}

.alert-success {
    background-color: #eaffea;
    color: #00b894;
    border-right: 4px solid #00b894;
}

.alert-info {
    background-color: #e3f2fd;
    color: #0984e3;
    border-right: 4px solid #0984e3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .form-decoration {
        display: none;
    }

    .login-form {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .login-form {
        padding: 30px 20px;
    }

    .logo-container {
        width: 120px;
        height: 120px;
    }

    .logo-ring {
        width: 140px;
        height: 140px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-links a {
        display: block;
        margin: 10px 0;
    }
}
