﻿.wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.inner {
padding: 0px;
}


.bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px);
    z-index: 1;
}

    .bg-blur::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2;
    }

.bg-blur {
    z-index: 1;
}

.bg-blur::after {
    z-index: 2;
}



.content {
    position: relative;
    z-index: 5; /* above blur */
    color: white;
    display: flex;
    flex-direction: column; /* stack logo above text */
    align-items: flex-end; /* push both to right side */
    margin-top: 20px;
    margin-right: 20px;
}

.background-logo img {
    width: auto;
    height: 150px;
    display: block;
    margin-left: auto; /* keep logo on right */
}


/* Highlight the special word in quote */
.highlights {
    color: #FF7F27; /* Brand orange */
    font-weight: bold;
    font-size: 18px;
}

/* Make the globe icons pop */
.links p {
    color: #fff;
}

    .links p::before {
        color: #FF7F27;
    }

/* Emphasize Login button */
button {
    background-color: #003879 !important;
    color: white !important;
}

    button:hover {
        background-color: #003979 !important;
    }

/* Make form title pop */
h3 {
    color: #003879 !important;
}

/* Optional: Add orange accent to Forgot Password link */
a {
    color: #FF7F27;
}



@media (max-width: 768px) {
    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .background-logo img {
        max-width: 70%;
        height: auto;
    }

    .links {
        margin-top: 1rem;
        font-size: 14px;
    }

    .vertical-text {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        margin-top: 1rem;
    }

    .quote {
        margin-top: 1rem;
        font-size: 14px;
    }
}








/* ===== Overlay ===== */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(2px);
}

/* ===== Modal ===== */
.preview-modal {
    background: #fff;
    width: 90%;
    max-width: 1400px;
    height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ===== Header ===== */
.preview-header {
    /*background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);*/
    background: linear-gradient(135deg, #0073ba 0%, #0073ba 100%);
    color: white;
    padding: 3px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    gap: 20px;
}

/* Left: Title */
.preview-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

    .preview-title h5 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
    }

.preview-filename {
    font-size: 11px;
    opacity: 0.85;
}

.preview-icon {
    font-size: 24px;
}

/* Center: Toolbar */
.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.icon-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 25px;
    height: 0px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

    .icon-btn:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-2px);
    }

    .icon-btn.wide {
        width: 44px;
    }

    .icon-btn.small {
        font-size: 16px;
    }

.zoom-display {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0 12px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    min-width: 60px;
    justify-content: center;
}

.divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.25);
    margin: 0 8px;
}

/* Right: Pagination + Close */
.preview-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-btn {
    background: transparent;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

    .nav-btn:hover {
        background: rgba(255,255,255,0.2);
    }

.page-info {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
}

.close-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .close-btn:hover {
        background: rgba(220,53,69,0.9);
        border-color: rgba(220,53,69,0.9);
    }

/* ===== Body ===== */
.preview-body {
    flex: 1;
    overflow: auto;
    padding: 3px;
    /*background: #e8eaed;*/
    /*display: flex;*/
    justify-content: center;
    align-items: flex-start;
}

.preview-frame-container {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    width: 100%;
    max-width: 1000px;
    min-height: 700px;
}

.preview-frame {
    width: 100%;
    height: 100%;
    min-height: 700px;
    border: none;
    border-radius: 4px;
}

/* ===== Footer ===== */
.preview-footer {
    background: #ffffff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    gap: 12px;
}

.footer-info {
    color: #5f6368;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-modal:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

    .preview-modal:fullscreen .preview-body {
        flex: 1;
        overflow: auto;
    }




/* Parent container */
.inner {
    display: flex;
    width: 100%;
    max-width: 800px;
    height: 520px; /* fixed equal height */
    margin: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* Left Image (50%) */
.image-holder {
    flex: 1; /* 50% */
    height: 100%;
}

    .image-holder img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* always fills evenly */
    }

/* Right Login Box (50%) */
.form-container {
    flex: 1; /* 50% */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
}



/*.divider-large {
    width: 100px;*/ /* larger gap */
    /*background: rgba(255,0,0,0);
}*/


/* Desktop (your current layout stays same) */
.divider-large {
    width: 100px;
    background: rgba(255,0,0,0);
}

/* Medium screens (tablets, smaller browser window) */
@media (max-width: 1024px) {
    .divider-large {
        width: 50px; /* smaller gap */
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    .divider-large {
        width: 25px; /* even smaller */
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .divider-large {
        width: 10px; /* minimum gap */
    }
}





table.table tbody tr td,
table.table thead tr th {
    padding: 1px;
}





.table thead th {
    background-color: #fafafb !important;
    color: #000000 !important;
    padding: 10px;
    border-bottom: 2px solid #005a90;
}



.table tbody tr td {
    padding: 6px 10px;
    font-size: 13px;
}

.table tbody tr:hover td {
    background: #f0f8ff; /* Light hover */
    transition: .2s;
}


.table tbody td {
    color: #6a1b9a !important; /* Purple */
    font-weight: 500;
}

.table tbody tr:hover td {
    background: #f3e5f5;
    transition: 0.2s;
}



.pc-micon {
    width: 42px;
    height: 42px;
    background: #0080c6;
    border-radius: 6px; /* change to 50% if you want round icons */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: 0.3s;
}

    .pc-micon i {
        color: #ffffff;
        font-size: 20px;
    }



.pc-item:hover .pc-micon {
    background: #005f91;
}

    .pc-item:hover .pc-micon i {
        color: #ffffff;
    }


.pc-sidebar .pc-micon {

    height: 26px !important;

}



/*.header-icon-menu {
    display: flex;
    align-items: center;
    gap: 33px;
    margin-left: 20px;
}*/


.header-icon-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 20px;
}

.header-icon-menu {
    display: flex;
    align-items: center;
    gap: 18px; /* minimum */
    justify-content: space-between;
}


.header-icon-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 20px;
}



    .header-icon-menu .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        font-size: 11px;
        color: #ffff;
        transition: 0.2s;
    }

        .header-icon-menu .menu-item .icon {
            width: 22px;
            height: 22px;
            stroke: #0080c6;
            margin-bottom: 4px;
        }

        .header-icon-menu .menu-item:hover .icon {
            stroke: #005f91;
            transform: scale(1.2);
        }


.pc-header {
    background-color: #0073ba !important;
}


.pc-container .pc-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 12px !important;
}

.pagination .page-link {
    border-radius: 6px;
}

/* table base: make ellipsis/width behavior predictable */
.table {
    width: 100%;
    table-layout: fixed; /* REQUIRED for text-overflow:ellipsis to work reliably */
}

    /* default cell look */
    .table th,
    .table td {
        vertical-align: middle;
        text-align: center; /* default center alignment for all cells */
        padding: 8px 10px;
    }

/* keep certain columns from wrapping */
th.no-wrap,
td.no-wrap {
    white-space: nowrap;
}

/* right align numeric columns */
th.number,
td.number {
    text-align: right;
    white-space: nowrap;
}

/* remark / iec columns: single line with ellipsis, left aligned */
th.remark,
td.remark {
    text-align: left;
    white-space: nowrap; /* do not wrap */
    overflow: hidden; /* hide overflow */
    text-overflow: ellipsis; /* show ... */
}

/* if you want different max widths for specific columns,
   set them on the th (preferred) or td; example: */
th.remark {
    max-width: 200px;
}
/* adjust as needed */
th.iecname {
    max-width: 300px;
}
/* optional */

/* responsive area: single rule only */
.table-responsive {
    max-height: 550px; /* as you had */
    overflow-x: auto; /* allow horizontal scroll when needed */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* hide scrollbar in firefox if desired */
}

    /* optional: hide webkit scrollbar (chrome/edge/safari) */
    .table-responsive::-webkit-scrollbar {
        height: 8px;
        width: 8px;
        display: none; /* set to 'block' if you want visible scrollbar */
    }

/* sticky header */
.table thead th {
    position: sticky;
    top: 0;
    background-color: #fff; /* match your header color */
    z-index: 10;
}

/* small icon hover */
.search-icon:hover,
.clear-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
}


/* Container padding */
.contains {
    padding: 10px;
}

/* Labels */
.compact-label {
    font-size: 12px;
    font-weight: 500;
    margin: 0; /* remove any margin */
    padding: 0; /* remove any padding */
    white-space: nowrap;
    margin-right:5px;
    margin-bottom:2px;
}

/* Inputs & selects */
.compact-input {
    height: 28px;
    font-size: 13px;
    padding: 2px 4px;
    margin: 0; /* remove extra margin */
}

/* Row gutter control */
.row.g-2 {
    --bs-gutter-x: 2px; /* minimal horizontal gap */
    --bs-gutter-y: 5px; /* minimal vertical gap */
}

/* Checkbox alignment */
.form-check-inline {
    display: flex;
    align-items: center;
    gap: 5px; /* very small gap between checkbox and label */
}

.form-check-label {
    white-space: nowrap;
}


.custom-input {
    height: 26px;
    line-height: 32px;
    padding: 0 8px;
    padding-left: 15px; /* space for left icon */
    padding-right: 48px; /* space for right icons */
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
}

div::-webkit-scrollbar {
    display: none;
}