﻿/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Dana';
    src: url('/fonts/Dana-Regular.woff2') format('woff2'), url('/fonts/Dana-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body,
input,
button,
textarea,
select {
    font-family: 'Dana', sans-serif;
}

body {
    overflow: hidden;
}

/* PAGE */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient( 135deg, #0f172a, #1e293b);
    padding: 20px;
}

/* BG */

.login-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top right, rgba(37,99,235,.25), transparent 30%);
    pointer-events: none;
}

/* CARD */

.login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255,255,255,.97);
    border-radius: 32px;
    padding: 45px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* LOGO */

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.logo-circle {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
}

/* HEADER */

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

    .login-header h1 {
        font-size: 28px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .login-header span {
        color: #64748b;
        font-size: 15px;
    }

/* FORM */

.login-form {
    width: 100%;
}

/* GROUP */

.form-group-custom {
    margin-bottom: 22px;
}

    .form-group-custom label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: #334155;
    }

/* INPUT GROUP */

.input-group-custom {
    position: relative;
}

    .input-group-custom i {
        position: absolute;
        top: 50%;
        right: 18px;
        transform: translateY(-50%);
        color: #94a3b8;
    }

/* INPUT */

.form-control-custom {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: #f8fafc;
    padding: 0 55px 0 18px;
    font-size: 15px;
    transition: .25s;
    outline: none;
}

    .form-control-custom:focus {
        background: white;
        box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

/* CAPTCHA */

.captcha-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 24px;
}

/* BUTTON */

.login-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .25s;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(37,99,235,.35);
    }

/* CAPTCHA INPUT */

#DNTCaptchaInputText {
    border: none !important;
    background: white !important;
    border-radius: 14px !important;
    height: 48px !important;
    text-align: center !important;
    font-size: 16px !important;
}

/* MOBILE */

@media(max-width:576px) {

    .login-card {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .logo-circle {
        width: 75px;
        height: 75px;
        font-size: 28px;
    }

    .login-header h1 {
        font-size: 22px;
    }
}

/*captcha*/
.captcha-box {
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

.captcha-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    direction:ltr;
    margin-left:2px;
}

.captcha-refresh {
    border: none;
    background: #f0f0f0;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    line-height: 30px;
    transition: 0.2s;
}

    .captcha-refresh:hover {
        background: #ddd;
        transform: rotate(90deg);
    }

.captcha-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

    .captcha-input:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 3px rgba(74,144,226,0.4);
    }