﻿.dn-admin-login-page {
    min-height: calc(100vh - 80px);
    width: 100%;
    background: linear-gradient(135deg, #080808 0%, #15100b 45%, #0b0b0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 18px;
    position: relative;
    overflow: hidden;
}

    .dn-admin-login-page::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        top: -180px;
        right: -150px;
        background: radial-gradient(circle, rgba(212,175,55,0.26), transparent 65%);
        pointer-events: none;
    }

    .dn-admin-login-page::after {
        content: "";
        position: absolute;
        width: 460px;
        height: 460px;
        bottom: -170px;
        left: -120px;
        background: radial-gradient(circle, rgba(255,45,149,0.18), transparent 65%);
        pointer-events: none;
    }

.dn-login-bg-glow {
    display: none;
}

.dn-login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 26px;
    padding: 34px;
    position: relative;
    z-index: 2;
    box-shadow: 0 28px 80px rgba(0,0,0,0.45);
    border: 1px solid rgba(212,175,55,0.28);
}

.dn-login-logo {
    font-size: 28px;
    font-weight: 900;
    color: #111;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

.dn-logo-big {
    font-size: 42px;
    color: #d4af37;
    line-height: 1;
}

.dn-login-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff7dc;
    color: #9b7415;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dn-login-card h1 {
    margin: 0;
    color: #111;
    font-size: 34px;
    font-weight: 900;
}

.dn-login-subtitle {
    margin: 10px 0 26px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.dn-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dn-field label {
    display: block;
    color: #222;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

/* DevExpress textbox wrapper */
.dn-input {
    width: 100%;
}

    /* DevExpress input fix */
    .dn-input input,
    .dn-input .dxeEditArea,
    .dn-input .dxeEditAreaSys {
        height: 46px !important;
        border-radius: 14px !important;
        background: #f7f7f7 !important;
        color: #111 !important;
        border: 1px solid #dddddd !important;
        padding: 0 14px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        box-shadow: none !important;
    }

        /* when focused */
        .dn-input input:focus,
        .dn-input .dxeEditArea:focus,
        .dn-input .dxeEditAreaSys:focus {
            background: #ffffff !important;
            border-color: #d4af37 !important;
            box-shadow: 0 0 0 4px rgba(212,175,55,0.14) !important;
            outline: none !important;
        }

        /* placeholder / null text */
        .dn-input input::placeholder {
            color: #999 !important;
        }

.dn-error {
    display: block;
    background: #fff1f3;
    border: 1px solid #ffc4cc;
    color: #c91835;
    padding: 11px 13px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
}

.dn-login-btn {
    margin-top: 4px;
}

    /* DevExpress button */
    .dn-login-btn .dxbButton,
    .dn-login-btn .dxbButtonSys {
        height: 48px !important;
        border-radius: 999px !important;
        border: none !important;
        background: linear-gradient(135deg, #d4af37, #ff2d95) !important;
        color: #111 !important;
        font-weight: 900 !important;
        font-size: 15px !important;
        box-shadow: 0 14px 30px rgba(212,175,55,0.25);
        transition: 0.2s ease;
    }

        .dn-login-btn .dxbButton:hover,
        .dn-login-btn .dxbButtonSys:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 38px rgba(255,45,149,0.25);
        }

.dn-back-link {
    display: inline-flex;
    justify-content: center;
    color: #777;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
    transition: 0.2s ease;
}

    .dn-back-link:hover {
        color: #d4af37;
    }

@media (max-width: 520px) {
    .dn-admin-login-page {
        align-items: flex-start;
        padding-top: 34px;
        min-height: calc(100vh - 60px);
    }

    .dn-login-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

        .dn-login-card h1 {
            font-size: 29px;
        }

    .dn-login-logo {
        font-size: 25px;
    }

    .dn-logo-big {
        font-size: 36px;
    }
}
