﻿@font-face {
    font-family: 'Yekan';
    src: url('/fonts/Yekan/Yekan.eot');
    src: url('/fonts/Yekan/Yekan.eot?#iefix') format('embedded-opentype'), url('/fonts/Yekan/Yekan.woff') format('woff'), url('/fonts/Yekan/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Yekan', Tahoma, sans-serif;
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #311042, #111827);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glass-auth-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    color: #fff;
}

.btn-gradient {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 12px;
    font-weight: bold;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: white;
}

@media (max-width: 575.98px) {
    body {
        height: auto;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1rem 0;
    }

    .glass-auth-card {
        width: calc(100% - 2rem);
        padding: 1.5rem;
        margin: auto;
    }
}

@media (max-width: 575.98px) and (max-height: 700px) {
    body { align-items: flex-start; }
}
