:root {
    --brand: #0b4ea2;
    --muted: #666;
    --card: #fff;
    --bg: #f0f3f8;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --dark-color: #07305e;
}

progress {
    width: 100%;
    height: 0px;
    position: fixed;
    top: 2px;
    display: block;
    align-items: center;
    z-index: 1200;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    margin: 0;
    color: #111;
    line-height: 1.5;
}

/* Back Button Style */
.back-btn1 {
    background: var(--brand);
    padding: 0px;
    text-align: left;
    margin-right: auto;
}

.back-btn1 a {
    margin-top: 15px;
    margin-left: 15px;
    background: #1675b0ff;
    color: #ffffff;
    text-decoration: none;
    border: none;
    padding: 6px 6px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.back-btn1 a:hover {
    background: #004a80;
    color: #fff;
}

.justyfy-header {
    background: var(--brand);
    color: #ffffff;
    padding: 5px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    font-size: 20px;
}

.logo {
    width: 100px;
    height: 100px;
}

.wrap {
    max-width: 920px;
    margin: 20px auto;
    padding: 18px;
}

h1,
h2,
h3 {
    color: var(--brand);
}

h4 {
    color: var(--card);
    font-size: 35px;
}

.fromprint {
    display: flex;
    width: 100%;
    margin: none;
    position: relative;
    align-items: end;
    justify-content: right;
}

.printforom {
    position: relative;
    display: flex;
    padding: 7px 15px 7px 15px;
    color: var(--card);
    background: var(--brand);
    border: 2px rgba(0, 27, 78, 0.541);
    border-style: double;
    border-radius: 10px 10px 0px 0px;
    cursor: pointer;
    overflow: hidden;

}

.printforom span {
    z-index: 0;
    font-size: 15px;
    padding: none;
    margin: none;
}

.printforom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 0%;
    background-color: #0b59a2de;
    background-size: cover;
    transition: width 0.8s ease;

}

.printforom:hover::before {
    width: 100%;
    height: 100%
}

.card {
    background: var(--card);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

input[type="text"],
input[type="date"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: none;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.file-preview {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.preview-img {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #ddd;
    background: #eee;
    cursor: pointer;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn {
    background: var(--brand);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn.secondary {
    background: #6c757d;
}

.btn.success {
    background: var(--success);
}

.btn.danger {
    background: var(--danger);
}

.btn.warning {
    background: var(--warning);
    color: #000;
}

.inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.radio-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.notice {
    background: #fff8e6;
    border-left: 4px solid #ffd24d;
    padding: 10px;
    border-radius: 6px;
    color: #6b4a00;
}

.summary {
    display: block;
    white-space: pre-wrap;
    font-family: monospace;
    background: #fafafa;
    padding: 10px;
    border-radius: 6px;
    border: 1px dashed #eee;
}

.stutesfr {
    display: block;
    font-family: monospace;
    background: #fafafa;
    padding: 10px;
    border-radius: 6px;
    border: 1px dashed #eee;
}

.sumbody {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    padding: 3px;
    word-spacing: normal;
    text-align: justify;
}

.userformal {
    padding: 10px;
    border: 1px solid #0b4fa210;
}

.userformal div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 3px 1px 3px 1px;
    color: rgb(39, 39, 39);
    font-size: 15px;
    font-weight: 400;
}

.userformal div span {
    display: flex;
    flex-wrap: wrap;
    color: rgb(26, 26, 26);
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 1px;
    text-decoration: 1px dashed underline #145ebf3d;
}

.userformal .usersecend {
    display: flex;
    flex-wrap: wrap;
}


.userformal div span a {
    color: rgb(0, 63, 136);
    font-weight: 400;
    text-decoration: none;
}

.userformal div img {
    width: 150px;
    max-height: 150px;
    border: 1px solid #08448d5b;
}

.userformal .usersecend span {
    margin-left: 2px;
    padding: none;
}


.top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.admin-section {
    background: #e8f0fe;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.admin-section h2 {
    margin-top: 0;
    color: #0b4ea2;
    font-size: 18px;
}

.admin-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.application-card {
    border-left: 4px solid #ddd;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.application-card.approved {
    border-left-color: var(--success);
}

.application-card.rejected {
    border-left-color: var(--danger);
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.application-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.stats-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--brand);
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
}

.login-section {
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
}

.admin-indicator {
    background: var(--success);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 10px;
}

.import-export {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* তারিখ সিলেক্টর স্টাইল */
.date-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.date-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
}

.date-option input[type="radio"] {
    margin: 0;
}

.date-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

/* মডাল স্টাইল */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background: var(--danger);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.accordion {
    width: 100%;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    background-color: #0b4ea2;
    color: white;
    font-size: large;
    border-radius: 5px;
    border: none;
}

.accordion:hover {
    background-color: #004a80;
    transform: scale(1.01);
}

#number {
    display: block;
    padding: 3px 10px;
    border: 2px solid #ba075d;
    background-color: rgba(255, 30, 218, 0.064);
    color: #ff0880;
    width: 150px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    align-items: center;
    margin: none;
    padding: 5px;
    text-align: center;
}

#number :first-child {
    margin-top: -2px;
    padding-top: 5px;
    padding: 2px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    background-color: #ba075d;
    color: #ffffff;
    font-family: serif;
    font-size: 17px;
    font-weight: bold;
}

#number :last-child {
    margin-top: -2px;
    padding-top: 5px;
    padding: 2px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    display: none;
    background-color: #ba070d;
    color: #ffffff;
    font-family: serif;
    font-size: 17px;
    font-weight: bold;
}

.highlight {
    color: green;
    font-weight: bold;
}

/* ফুটার */
footer {
    background-color: rgba(4, 5, 5, 0.908);
    color: white;
    padding: 20px;
    text-align: center;
}

.paragraph-P01 {
    background-color: var(--dark-color);
    color: #ececec;
    border-bottom: 1px solid rgb(156, 149, 149);
    padding: 5px;
    text-align: center;
    margin-top: 30px;
}

.credit-right {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.topbuttonlin {
    background-color: rgb(52, 47, 47);
    padding: 1px;
    height: 100px;
    width: 0px;
}

.sazed {
    text-align: right;
}

.sadi {
    text-align: left;
}

.credit-right span {
    color: rgb(165, 172, 175);
    font-weight: bold;
}

.socalicon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.brand-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgb(0, 0, 0, 02);
}

.fb-brand {
    background: #1877f2;
}

.yt-brand {
    background: #ff0000;
}

.wh-brand {
    background: #25D366;
}

/* ফেসবুক মোডাল */
#fbModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1200;
    justify-content: center;
    align-items: center;
}

.fbModal-content {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fbBackBtn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c4c4c438;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.fbBackBtn:hover {
    background-color: #ff0000;
    color: rgb(255, 255, 255);
}

.fbModal-body {
    text-align: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid #000000;
}

.profile-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #1877f2;
}

.fbBtn {
    display: inline-block;
    background-color: #1877f2;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin: 10px 0;
}

.fbBtn i {
    padding-right: 10px;
}

.fbBtn .fbloading {
    display: none;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

.fbBtn:hover {
    background-color: #145dbf;
}

.fb-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}

.fb-link-js {
    font-family: 'Arial', sans-serif;
    /* ফন্ট */
    font-size: 15px;
    /* লেখা বড়/ছোট */
    color: #1877f2;
    padding: 5px 5px;
    /* চারপাশে ফাঁকা */
    border-radius: 9px;
    /* কোণ গোল */
    text-decoration: none;
    /* আন্ডারলাইন না থাকা */
}

.fb-link-js:hover {
    background-color: #1877f2;
    /* হোভার রঙ পরিবর্তন */
    color: #ffffff;
    /* হোভার লেখার রঙ */
    cursor: pointer;
    border-radius: 2x;
    box-shadow: 1px 1px 10px 1px #27629d65;
}

/* লক্ষনিয় */
.formnotis {
    display: none;
    position: fixed;
    top: 0px;
    place-content: center;
    place-items: center;
    height: 100%;
    width: 100%;
    margin: 0%;
    background-color: #00000047;
    z-index: 1000;

}

.formnotiscontent {
    align-items: center;
    align-content: center;
    display: block;
    padding: 20px;
    max-width: 600px;
    height: 400px;
    background-color: #ffffff;
    border: 5px solid var(--brand);
    border-radius: 20px;
    box-shadow: 2px 2px 8px #0b4fa29b;

}

.cllosnotis {
    align-items: center;
    position: absolute;
    cursor: pointer;
    border: none;
    border-radius: 100%;
    background: none;
    padding: 0px;
    color: var(--danger);
    font-weight: bold;
    font-size: 12px;
}

.cllosnotis:hover {
    background: rgba(255, 0, 0, 0.204);
}

.rightbtn {
    display: flex;
    gap: 10px;
    align-content: end;
    justify-items: right;
    justify-content: right;
    margin-top: 2px;
    min-width: max-content;
}

.nextbuton {
    cursor: pointer;
    display: block;
    border: 1px solid rgb(48, 48, 155);
    border-radius: 5px;
    background-color: var(--brand);
    padding: 2px;
    font-size: 15px;
    text-align: center;
    width: 50px;
    margin-top: 5px;
    font-weight: 900;
    color: #ffffffd1;
    min-width: max-content;
}

.closebtn {
    cursor: pointer;
    display: none;
    border: 1px solid var(--success);
    border-radius: 5px;
    color: #ffffffd1;
    background-color: var(--success);
    padding: 2px;
    font-size: 15px;
    text-align: center;
    width: 50px;
    margin-top: 5px;
    font-weight: 900;
    min-width: max-content;
}

.closebtn:hover {
    background-color: #14804d;
    color: #ebf0ecd1;

}

.backbuton {
    cursor: pointer;
    display: none;
    border: 1px solid rgb(48, 48, 155);
    border-radius: 5px;
    background-color: var(--brand);
    padding: 2px;
    font-size: 15px;
    text-align: center;
    width: 50px;
    margin-top: 5px;
    font-weight: 900;
    color: #ffffffd1;
    min-width: max-content;
}

.notishead {
    font-family: Tahoma;
    font-size: 30px;
    font-weight: bold;
    color: #004a80;
    text-align: center;
}

.linbak {
    width: 100%;
    height: 1px;
    background: #004a80;
}

.notisbody1 {
    background-color: #004b8022;
    border-bottom: 1px solid #004b804e;
    padding: 15px;
    height: 70%;
    overflow: hidden;
    overflow: scroll;
}

.notistsfone {
    text-decoration: none;
    color: #ba075d;
}

.notistsfone:hover {
    color: #ba070d;
}

.notisbody2 {
    display: none;
    background-color: #004b8022;
    border-bottom: 1px solid #004b804e;
    padding: 15px;
    height: 70%;
    overflow: hidden;
    overflow: scroll;
}

.listnotis {
    font-family: Helvetica;
    color: #004a80;
    font-size: 19px;
    font-weight: 500;
    list-style: square;
    padding: 10px;
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar:hover {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #3a444900;
}

::-webkit-scrollbar-track:hover {
    background: #cedce2;
}

::-webkit-scrollbar-thumb {
    background: #445b7a;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f61a0;
}

body ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

body ::-webkit-scrollbar:hover {
    width: 5px;
    height: 5px;
}

body ::-webkit-scrollbar-track {
    background: #3a3f4900;
}

body ::-webkit-scrollbar-track:hover {
    background: #ced7e2;
}

body ::-webkit-scrollbar-thumb {
    background: #a8adb9;
}

body ::-webkit-scrollbar-thumb:hover {
    background: #6c7279;
}


@media (max-width: 760px) {
    .back-btn1 a {
        margin-top: 15px;
        margin-left: 15px;
        font-size: 10px;
    }

    h4 {
        font-size: 20px;
    }

    .justyfy-header {
        font-size: 10px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .sumbody {
        grid-template-columns: 1fr 1fr;
        word-break: break-all;
    }

    .userformal div {
        gap: 8px;
        font-size: 12px;
        font-weight: 250;
    }

    .userformal div span {
        font-size: 14px;
        font-weight: 300;
    }

    .top-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-controls {
        flex-direction: column;
    }

    .date-input-group {
        grid-template-columns: 1fr;
    }

    .credit-right {
        display: flex;
        justify-content: center;
        text-align: center;
        gap: 5px;
        margin-top: 15px;
        font-size: 0.6rem;
    }


    .credit-right span {
        margin: 0%;
        font-size: 10px;
        color: rgb(165, 172, 175);
        font-weight: bold;
    }

    /* লক্ষনিয় */
    .formnotiscontent {
        padding: 15px;
        width: fit-content;
        height: 390px;
        border: 3px solid var(--brand);
        border-radius: 10px;
        box-shadow: 2px 2px 8px #0b4fa29b;
    }

    .listnotis {
        font-size: 16px;
    }
}