﻿html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
}

/* =========================
   Account / Blank Layout
   ========================= */

.account-layout {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   Header
   ========================= */

.account-header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

    .account-header .row {
        margin: 0;
    }

.account-logo {
    height: 115px;
    max-width: 100%;
    object-fit: contain;
}

.account-logo-samap {
    height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* =========================
   Background / Content
   ========================= */

.account-content {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    box-sizing: border-box;
    background-color: #174a7d;
    background-image: linear-gradient( rgba(0, 35, 75, 0.12), rgba(0, 35, 75, 0.12) ), url('/assets/img/pages/back_blank.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* =========================
   عنوان سامانه
   ========================= */

.account-title {
    position: relative;
    z-index: 3;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    /* هاله و سایه برای خوانایی روی تصویر روشن */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.85), 0 4px 12px rgba(0, 0, 0, 0.65);
    flex: 0 0 auto;
}

    /* خط ظریف زیر عنوان */

/*    .account-title::after {
        content: "";
        display: block;
        width: 120px;
        height: 3px;
        margin: 0.35rem auto 0;
        border-radius: 10px;
        background: rgba(0, 200, 255, 0.9);
        box-shadow: 0 0 6px rgba(0, 200, 255, 0.8), 0 0 14px rgba(0, 200, 255, 0.45);
    }*/

/* =========================
   Login / Register Content
   ========================= */

.account-page-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

    /* حذف فاصله‌های عمودی پیش‌فرض صفحات Authentication */

    .account-page-content .container-p-y {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .account-page-content .authentication-wrapper {
        min-height: auto !important;
        width: 100%;
        margin: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .account-page-content .authentication-basic {
        min-height: auto !important;
    }

    .account-page-content .authentication-inner {
        width: 100%;
        margin: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

/* =========================
   Footer Title
   ========================= */

.account-footer-title {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 0 !important;
    padding: 0 1rem 1rem !important;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.75);
}

    /* خطوط دو طرف عنوان پایین */

    .account-footer-title::before,
    .account-footer-title::after {
        content: "";
        display: inline-block;
        width: 70px;
        height: 1px;
        vertical-align: middle;
        background: rgba(255, 255, 255, 0.55);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    }

    .account-footer-title::before {
        margin-left: 1rem;
    }

    .account-footer-title::after {
        margin-right: 1rem;
    }

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {

    .account-logo {
        height: 80px;
    }

    .account-logo-samap {
        height: 45px;
    }

    .account-title {
        font-size: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

/*        .account-title::after {
            width: 80px;
            height: 2px;
        }*/

    .account-footer-title {
        position: relative;
        z-index: 3;
        width: 100%;
        margin-top: 0 !important;
        padding: 0 1rem 1rem !important;
        box-sizing: border-box;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.25rem;
        font-weight: 500;
        line-height: 1.8;
        text-align: center;
        white-space: nowrap;
        pointer-events: none;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.75);
    }

        .account-footer-title::before,
        .account-footer-title::after {
            width: 35px;
        }

        .account-footer-title::before {
            margin-left: 0.5rem;
        }

        .account-footer-title::after {
            margin-right: 0.5rem;
        }
}
