@font-face {
	font-family: "yekan";
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/yekanregular.woff') format('woff'),   
	url('../fonts/yekanregular.woff2') format('woff2');		 
}

@font-face {
	font-family: "yekan";
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/yekanbold.woff') format('woff'),   
	url('../fonts/yekanbold.woff2') format('woff2'); 
}

@font-face {
	font-family: "yekan";
	font-style: normal;
	font-weight: 950;
	src: url('../fonts/yekanextrabold.woff') format('woff'),   
	url('../fonts/yekanextrabold.woff2') format('woff2');		 
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "yekan";
    background:
        linear-gradient(135deg, rgba(22, 18, 46, 0.82), rgba(52, 19, 151, 0.72)),
        url('../images/bg.jpg') center/cover no-repeat fixed;
    font-size: 14px;
    color: #1d2433;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 14, 37, 0.28);
    padding: 28px 26px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(6px);
    max-width: 440px;
    margin: 0 auto;
}

.login-logo {
    text-align: center;
    margin-bottom: 12px;
}

.login-logo img {
    width: 38%;
    max-width: 150px;
}

.login-heading {
    text-align: center;
    margin-bottom: 8px;
}

.login-heading span {
    display: block;
    color: #6a6b86;
    font-size: 13px;
    margin-bottom: 4px;
}

.login-heading h2 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #1d2433;
}

.login-form-wrap {
    width: 100%;
    max-width: 360px;
    margin: 10px auto 0;
}

.form-floating {
    position: relative;
}

.form-control {
    border-radius: 12px !important;
    border: 1px solid #dfe5f0 !important;
    background: #f8faff !important;
    min-height: 52px !important;
    padding: 18px 16px 10px !important;
    font-size: 14px;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: #341397 !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 19, 151, 0.12) !important;
    background: #fff !important;
}

.form-floating label {
    color: #6b7280;
    padding-right: 18px;
    right: 0;
    left: auto;
    text-align: right;
}

.btn-login {
    width: 100%;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #341397, #4b2db9) !important;
    box-shadow: 0 10px 22px rgba(52, 19, 151, 0.24) !important;
    min-height: 42px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover,
.btn-login:active,
.btn-login:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(52, 19, 151, 0.32) !important;
    background: linear-gradient(135deg, #2c1089, #4124b8) !important;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: #5e6b85;
    font-size: 11px;
    line-height: 2;
}

.login-footer a {
    color: #341397;
    text-decoration: none;
}

.alert {
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 14px;
}

@media (max-width: 991px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-visual {
        padding: 32px 24px 26px;
    }

    .brand-copy h1 {
        font-size: 2.1rem;
    }

    .feature-list {
        margin-top: 24px;
    }

    .login-card {
        padding: 28px 22px 20px;
    }
}

@media (max-width: 575px) {
    .login-page {
        padding: 16px;
    }

    .login-heading h2 {
        font-size: 1.6rem;
    }

    .login-logo img {
        width: 54%;
    }
}