﻿
body {
    min-height: 100vh;
}

.enterprise-wrapper {
    padding: 20px;
}

.enterprise-card {
    background: #ffffff;
    width: 100%;
    z-index: 10 !important;
    max-width: 480px;
    padding: 10px 35px;
    border-radius: 14px;
    border: 1px solid #e1e5eb;
    animation: fadeSlide .5s ease;
}

.enterprise-input {
    height: 52px;
    border: 1px solid #d6d9df;
    border-radius: 8px;
    background: #fafbfc;
    transition: .2s;
}

    .enterprise-input:focus {
        border-color: #0056a6;
        box-shadow: 0 0 0 3px rgba(0, 86, 166, 0.2);
    }

.enterprise-captcha {
    min-width: 140px;
    border-radius: 8px;
    border: 1px solid #d6d9df;
    background: #f0f2f4;
}

.link-section a {
    display: block;
    color: #555;
    margin: 6px 0;
    font-size: 14px;
}

    .link-section a:hover {
        color: #004b8e;
    }

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* عکس زمینه پایین صفحه */
.bg-fade-floor {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    /* نسبت عکس: 760 / 2900 = 0.262 */
    height: calc(100vw * 0.262) !important;
    background-image: url('imgs/alefbasystembg-2.jpg') !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: bottom center !important;
    pointer-events: none !important;
    z-index: 0 !important;
    /* فقط عکس محو بشه */
    mask-image: linear-gradient( to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.0) 90% ) !important;
    -webkit-mask-image: linear-gradient( to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.0) 90% ) !important;
}

/* فرم قفل‌شده روی همه‌چیز */
.split-wrapper,
.split-left,
.split-right,
.login-box {
    position: relative !important;
    z-index: 9999 !important; /* هیچ چیز دیگه‌ای از این بالاتر نمی‌ره */
}

/* فاصله پایین برای فرم */
.split-right {
    padding-bottom: calc(100vw * 0.32) !important;
}

/* موبایل */
@media(max-width: 768px) {

    .bg-fade-floor {
        height: calc(100vw * 0.42) !important;
        background-size: cover !important;
        mask-image: linear-gradient( to top, rgba(0,0,0,1) 45%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0) 100% ) !important;
        -webkit-mask-image: linear-gradient( to top, rgba(0,0,0,1) 45%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0) 100% ) !important;
    }

    .split-right {
        padding-bottom: calc(100vw * 0.45) !important;
    }
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.badge-action {
    padding: 6px 14px;
    border-radius: 50px;
    background: #fffdd8;
    border: 1px solid #e5d919;
    font-size: 13px;
    cursor: pointer;
    color: #333433;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

    .badge-action:hover {
        background: #fff75f;
        border-color: #a39b0c;
    }

    .badge-action i {
        font-size: 14px;
    }

.modal-backdrop {
    background-color: rgba(0,0,0,0.3) !important;
    transition: none !important;
}

.modal.fade .modal-dialog {
    transition: transform .25s ease-out !important;
}

.modal.fade {
    transition: opacity 0.2s !important;
}
