/* =========================================================
   EmitraForm
   Main Website CSS
   ========================================================= */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Arial,
        "Noto Sans Devanagari",
        sans-serif;

    background: #f5f6f8;

    color: #1f2937;

}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {

    position: sticky;

    top: 0;

    z-index: 9999;

    width: 100%;

    background:
        linear-gradient(
            100deg,
            #101827,
            #1d2939
        );

    box-shadow:
        0 3px 15px
        rgba(0,0,0,0.18);

}


.navbar {

    width: 100%;

    min-height: 68px;

    padding:
        0
        clamp(15px, 4vw, 60px);

    display: flex;

    align-items: center;

    gap: 30px;

}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    text-decoration: none;

    white-space: nowrap;

}


.brand-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e53935;

    color: #ffffff;

    font-size: 20px;

    font-weight: 800;

    border-radius: 8px;

}


.brand-logo {

    width: 40px;

    height: 40px;

    object-fit: contain;

    background: #ffffff;

    border-radius: 7px;

    padding: 2px;

}


.brand-name {

    font-size: 21px;

    font-weight: 800;

    letter-spacing: 0.2px;

}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-menu {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 4px;

}


.nav-link,
.other-button {

    border: 0;

    background: transparent;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    padding: 11px 14px;

    border-radius: 7px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


.nav-link:hover,
.nav-link.active,
.other-button:hover {

    background:
        rgba(255,255,255,0.10);

}


.other-menu {

    position: relative;

}


.other-button span {

    margin-left: 4px;

    font-size: 15px;

}


/* =========================================================
   OTHER DROPDOWN
   ========================================================= */

.other-dropdown {

    display: none;

    position: absolute;

    top: 48px;

    right: 0;

    min-width: 190px;

    padding: 5px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 12px 30px
        rgba(0,0,0,0.18);

}


.other-dropdown a {

    display: block;

    padding: 11px 13px;

    color: #273142;

    font-size: 13px;

    text-decoration: none;

    border-radius: 5px;

}


.other-dropdown a:hover {

    background: #f3f4f6;

}


.other-menu.open
.other-dropdown {

    display: block;

}


/* =========================================================
   MOBILE BUTTON
   ========================================================= */

.menu-toggle {

    display: none;

    margin-left: auto;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 27px;

    cursor: pointer;

}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 900px) {

    .navbar {

        padding:
            0 20px;

    }

    .nav-link,
    .other-button {

        padding:
            10px 9px;

        font-size: 13px;

    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .navbar {

        min-height: 62px;

        padding:
            0 15px;

    }


    .brand-name {

        font-size: 18px;

    }


    .brand-icon {

        width: 33px;

        height: 33px;

        font-size: 17px;

    }


    .brand-logo {

        width: 34px;

        height: 34px;

    }


    .menu-toggle {

        display: block;

    }


    .nav-menu {

        display: none;

        position: absolute;

        top: 62px;

        left: 0;

        right: 0;

        width: 100%;

        padding: 8px 12px 14px;

        flex-direction: column;

        align-items: stretch;

        background: #111827;

        box-shadow:
            0 10px 20px
            rgba(0,0,0,0.18);

    }


    .nav-menu.open {

        display: flex;

    }


    .nav-link,
    .other-button {

        width: 100%;

        text-align: left;

        padding: 12px 13px;

    }


    .other-menu {

        width: 100%;

    }


    .other-dropdown {

        position: static;

        width: 100%;

        margin-top: 3px;

        background: #1f2937;

        box-shadow: none;

    }


    .other-dropdown a {

        color: #ffffff;

    }


    .other-dropdown a:hover {

        background:
            rgba(255,255,255,0.08);

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .brand-name {

        font-size: 17px;

    }

}




/* =========================================================
   EmitraForm Homepage
   ========================================================= */


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.main-container {

    width: min(
        1180px,
        94%
    );

    margin: 0 auto;

    padding-bottom: 35px;

}



/* =========================================================
   NEWS
   ========================================================= */

.news-bar {

    margin-top: 18px;

    min-height: 46px;

    display: flex;

    align-items: stretch;

    background: #ffffff;

    border:
        1px solid #e1e5ea;

    border-radius: 5px;

    overflow: hidden;

    box-shadow:
        0 2px 5px
        rgba(0,0,0,0.04);

}


.news-label {

    min-width: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e53935;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

}


.news-content {

    flex: 1;

    display: flex;

    align-items: center;

    padding:
        10px 15px;

    font-size: 13px;

    color: #374151;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

}



/* =========================================================
   IMPORTANT NOTICE
   ========================================================= */

.important-notice {

    margin-top: 10px;

    padding:
        12px 15px;

    background: #fff8e8;

    border:
        1px solid #f0d48a;

    border-left:
        4px solid #f59e0b;

    border-radius: 4px;

    font-size: 12px;

    line-height: 1.6;

    color: #5f4b19;

}


.important-notice strong {

    margin-right: 5px;

}



/* =========================================================
   PAGE HEADING
   ========================================================= */

.page-heading {

    margin-top: 18px;

    padding:
        18px 20px;

    background: #ffffff;

    border:
        1px solid #e1e5ea;

    border-radius: 5px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.page-heading h1 {

    margin: 0;

    font-size: 22px;

    color: #172033;

}


.page-heading p {

    margin-top: 5px;

    font-size: 12px;

    color: #7b8492;

}



/* =========================================================
   VISITOR BOX
   ========================================================= */

.visitor-box {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        9px 14px;

    background: #f8fafc;

    border:
        1px solid #e1e5ea;

    border-radius: 6px;

}


.visitor-icon {

    font-size: 21px;

}


.visitor-box small {

    display: block;

    font-size: 10px;

    color: #7b8492;

}


.visitor-box strong {

    display: block;

    margin-top: 2px;

    font-size: 15px;

    color: #1f2937;

}



/* =========================================================
   TOOLBAR
   ========================================================= */

.forms-toolbar {

    margin-top: 15px;

    padding:
        12px 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: #ffffff;

    border:
        1px solid #e1e5ea;

    border-radius:
        5px 5px 0 0;

    font-size: 12px;

}


.entries-control {

    display: flex;

    align-items: center;

    gap: 6px;

}


.entries-control select {

    height: 33px;

    padding:
        0 28px 0 9px;

    border:
        1px solid #cfd5dd;

    border-radius: 5px;

    background: #ffffff;

    color: #374151;

}


.search-control {

    display: flex;

    align-items: center;

    gap: 7px;

}


.search-control input {

    width: 250px;

    height: 34px;

    padding:
        0 10px;

    border:
        1px solid #cfd5dd;

    border-radius: 5px;

    outline: none;

}


.search-control input:focus {

    border-color: #e53935;

    box-shadow:
        0 0 0 3px
        rgba(229,57,53,0.08);

}



/* =========================================================
   TABLE
   ========================================================= */

.forms-section {

    background: #ffffff;

    border:
        1px solid #e1e5ea;

    border-top: 0;

}


.table-responsive {

    width: 100%;

    overflow-x: auto;

}


.forms-table {

    width: 100%;

    min-width: 800px;

    border-collapse: collapse;

}


.forms-table th {

    padding:
        11px 8px;

    background: #e53935;

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    text-align: center;

    white-space: nowrap;

}


.forms-table td {

    padding:
        10px 8px;

    border-bottom:
        1px solid #edf0f3;

    font-size: 11.5px;

    text-align: center;

    line-height: 1.45;

}


.forms-table tbody tr:nth-child(even) {

    background: #fcfcfd;

}


.forms-table tbody tr:hover {

    background: #fff3f3;

}


.forms-table td:nth-child(2),
.forms-table td:nth-child(3) {

    text-align: left;

}


.forms-table td:first-child {

    font-weight: 700;

    color: #7b8492;

}



/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

.download-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 78px;

    padding:
        7px 12px;

    background: #e53935;

    color: #ffffff;

    text-decoration: none;

    border-radius: 4px;

    font-size: 10.5px;

    font-weight: 700;

    transition:
        0.18s ease;

}


.download-button:hover {

    background: #c62828;

    transform:
        translateY(-1px);

}


.download-disabled {

    display: inline-flex;

    padding:
        7px 12px;

    background: #9ca3af;

    color: #ffffff;

    border-radius: 4px;

    font-size: 10px;

}



/* =========================================================
   VOTE BUTTONS
   ========================================================= */

.feedback-cell {

    white-space: nowrap;

}


.vote-button {

    border: 0;

    background: transparent;

    cursor: pointer;

    padding:
        5px 6px;

    border-radius: 5px;

    font-size: 12px;

}


.vote-button:hover {

    background: #f3f4f6;

}


.vote-button:disabled {

    opacity: 0.55;

    cursor: not-allowed;

}



/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {

    padding: 30px;

    text-align: center;

    color: #7b8492;

    font-size: 13px;

}



/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;

    padding:
        14px;

}


.pagination button {

    min-width: 32px;

    height: 30px;

    border:
        1px solid #d5dae0;

    background: #ffffff;

    color: #374151;

    border-radius: 5px;

    cursor: pointer;

    font-size: 11px;

}


.pagination button:hover,
.pagination button.active {

    background: #e53935;

    border-color: #e53935;

    color: #ffffff;

}


.pagination button:disabled {

    opacity: 0.45;

    cursor: not-allowed;

}



/* =========================================================
   BOTTOM INFO
   ========================================================= */

.bottom-info {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding:
        12px 3px;

    font-size: 11px;

    color: #7b8492;

}


.online-dot {

    display: inline-block;

    width: 7px;

    height: 7px;

    margin-right: 4px;

    border-radius: 50%;

    background: #22c55e;

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {


    .main-container {

        width: 96%;

    }


    .news-bar {

        display: block;

    }


    .news-label {

        min-height: 34px;

    }


    .news-content {

        min-height: 40px;

        white-space: normal;

    }


    .page-heading {

        align-items: flex-start;

        flex-direction: column;

    }


    .visitor-box {

        width: 100%;

    }


    .forms-toolbar {

        flex-direction: column;

        align-items: stretch;

    }


    .search-control {

        display: block;

    }


    .search-control input {

        display: block;

        width: 100%;

        margin-top: 6px;

    }


    .table-responsive {

        overflow: visible;

    }


    .forms-table {

        min-width: 0;

        border-collapse: separate;

        border-spacing: 0 10px;

    }


    .forms-table thead {

        display: none;

    }


    .forms-table tbody,
    .forms-table tr,
    .forms-table td {

        display: block;

        width: 100%;

    }


    .forms-table tbody tr {

        background: #ffffff;

        border:
            1px solid #e1e5ea;

        border-radius: 8px;

        overflow: hidden;

        box-shadow:
            0 2px 8px
            rgba(0,0,0,0.04);

    }


    .forms-table td {

        display: flex;

        align-items: flex-start;

        justify-content: space-between;

        gap: 12px;

        text-align: right;

        padding:
            10px 12px;

        border-bottom:
            1px solid #eef0f2;

        font-size: 12px;

    }


    .forms-table td:last-child {

        border-bottom: 0;

    }


    .forms-table td::before {

        content:
            attr(data-label);

        min-width: 42%;

        color: #697386;

        font-size: 10px;

        font-weight: 700;

        text-align: left;

    }


    .forms-table td:nth-child(2),
    .forms-table td:nth-child(3) {

        text-align: right;

    }


    .bottom-info {

        display: block;

    }


    .bottom-info > div + div {

        margin-top: 5px;

    }

}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    margin-top: 25px;

    background: #111827;

    color: #d1d5db;

}


.footer-container {

    width: min(
        1180px,
        94%
    );

    margin: auto;

    padding:
        30px 0;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 30px;

}


.footer-column h3,
.footer-column h4 {

    margin-bottom: 10px;

    color: #ffffff;

}


.footer-column h3 {

    font-size: 19px;

}


.footer-column h4 {

    font-size: 13px;

}


.footer-column p {

    max-width: 400px;

    color: #9ca3af;

    font-size: 11px;

    line-height: 1.7;

}


.footer-column a {

    display: block;

    margin-bottom: 8px;

    color: #9ca3af;

    text-decoration: none;

    font-size: 11px;

}


.footer-column a:hover {

    color: #ffffff;

}


.footer-bottom {

    padding:
        13px;

    text-align: center;

    border-top:
        1px solid
        rgba(255,255,255,0.08);

    color: #9ca3af;

    font-size: 10px;

}


@media (max-width: 700px) {

    .footer-container {

        grid-template-columns: 1fr;

        gap: 20px;

    }

}