﻿.row {
    margin-right: -5px;
    margin-left: -15px;
}

.menu-position-top.menu-w.menu-layout-compact .logo-w {
    padding: 8px;
}

@media only screen and (max-width: 480px) and (min-width: 0px) {
    .row {
        margin-right: -12px;
        margin-left: -15px;
    }
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.form-control {
    font-family: 'Poppins', sans-serif;
    color: #373b3e;
    font-size: 13px;
    font-weight: 400;
}

.menu-w {
    background-color: #1976d2;
    box-shadow: 0 0 0px 0 #404e67;
    box-shadow: inset 0 -1px 0 0 hsla(0,0%,80%,.96);
}

.logoheading {
    color: #eceff3;
    font-size: 18px;
    letter-spacing: 1px;
    float: left;
    margin-right: 30px;
    margin-left: 10px;
    text-transform: uppercase;
    font-family: 'Montserrat',sans-serif;
}

.menu-position-top.menu-w.menu-layout-compact .logo-w {
    padding: 0px;
}

a:hover {
    color: #4f39f6;
}

.form-control {
    font-family: 'Poppins', sans-serif;
    color: #373b3e;
    font-size: 12px;
}

label {
    font-family: 'Poppins', sans-serif;
    color: #373b3e;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.menu-position-top.menu-w .top-icon {
    margin: -24px 2rem;
    font-size: 26px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.menu-w .logo-w img {
    width: 150px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    border-bottom: 0px solid #e6e6e6;
}

.menu-position-top.menu-w.menu-layout-compact .logo-w {
    background: #fff;
    padding: 0px;
}

.menu-position-top.menu-w.menu-layout-compact .logo-w {
    background: #fff;
    padding: 4px;
}

.menu-position-top.menu-w {
    box-shadow: 0 0px 0px 0 rgba(62, 57, 107, 0.15), 0 4px 9px 0 #424d672e;
}

    .menu-position-top.menu-w.sub-menu-style-over .sub-menu-w {
        left: 0px;
        top: 103%;
    }

.menu-w {
    background-color: #4f46e5;
}

a:hover {
    color: #4f39f6;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.btn-product {
    color: white;
    background-color: #243b53;
    border: solid 1px #243b53;
    border-radius: 4px;
}

    .btn-product:hover {
        color: white;
        background-color: #243b53;
        border: solid 1px #243b53;
        border-radius: 4px;
    }

.element-wrapper .element-header:after {
    background-color: #dd0031;
}

.menu-w.sub-menu-style-over .sub-menu-w .sub-menu-i > ul > li > a {
    font-weight: 400;
}

body {
    font-size: 13px;
}

.btn-info:hover {
    color: #fff;
    background-color: #1976d2;
    border-color: #1976d2;
}
.btn-info {
    color: #fff;
    background-color: #1976d2;
    border-color: #1976d2;
}

h5 {
   font-size:14px;
}





.autocomplete-container {
    position: relative;
    width: 100%;
}

.auto-list {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 2px;
    padding: 0;
    list-style-type: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: max-height 0.2s ease;
}

.auto-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .auto-item:last-child {
        border-bottom: none;
    }

    .auto-item:hover {
        background: #eaf3ff;
    }



.menu-w.sub-menu-style-over.sub-menu-color-bright ul.main-menu > li.active > a {
    background-color: #4f46e5;
}

.menu-w.sub-menu-style-over .sub-menu-w .sub-menu-i > ul > li > a:hover {
    font-weight:600;
    color: #333;
    background-color:#fff;
}
.menu-w.sub-menu-style-over .sub-menu-w {
    border-bottom: 2px solid #4f46e5;
}


.enhanced-table th {
    background: #f8f9fc;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #495057;
    border-bottom: 2px solid #dee2e6 !important;
}

.enhanced-table td {
    vertical-align: middle !important;
    padding: 4px 8px !important;
}

.enhanced-input {
    border-radius: 5px !important;
    height: 30px !important;
    font-size: 11px;
    font-weight: 400;
}

    .enhanced-input:disabled {
        background: #f1f3f5 !important;
        cursor: not-allowed;
    }

.enhanced-select {
    border-radius: 6px !important;
    height: 30px !important;
    font-size: 11px;
    font-weight: 400;
}

.add-btn {
    border-radius: 30px !important;
    padding: 6px 18px !important;
    font-size: 13px;
}

.table-actions i {
    cursor: pointer;
    transition: 0.2s;
}

    .table-actions i:hover {
        transform: scale(1.2);
    }

.section-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    color: #6366f1;
}

/* Default state */
textarea.form-control,
input.form-control,
select.form-control {
    border: 1px solid #ccc;
    transition: all 0.2s ease;
    border-radius: 5px;
}

    /* Hover */
    textarea.form-control:hover,
    input.form-control:hover,
    select.form-control:hover {
        border-color: #4f46e5;
        border-radius: 5px;
    }

    /* Focus */
    textarea.form-control:focus,
    input.form-control:focus,
    select.form-control:focus {
        border-color: #4f46e5 !important;
        border-radius: 5px;
        box-shadow: 0 0 4px rgba(79, 70, 229, 0.3) !important;
    }

    /* Active */
    textarea.form-control:active,
    input.form-control:active,
    select.form-control:active {
        border-radius: 5px;
        border-color: #4f46e5 !important;
    }



.cyl-info-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5ff; /* Light Indigo CRM style */
    border: 1px solid #4f46e5; /* Indigo border */
    border-radius: 50%; /* Clean circle button */
    cursor: pointer;
    transition: 0.25s ease;
}

    .cyl-info-btn i {
        font-size: 15px;
        color: #6366F1;
    }

    /* Hover (CRM-Type Animation) */
    .cyl-info-btn:hover {
        background: #4f46e5;
        border-color: #4f46e5;
        transform: scale(1.08);
    }

        .cyl-info-btn:hover i {
            color: #ffffff;
        }



/* -------------------------
   PRIMARY (INDIGO) BUTTON
--------------------------*/
.btn-blue {
    background-color: #6366F1; /* indigo-500 */
    border: 1px solid #6366F1;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.25s ease;
}

    .btn-blue:hover {
        background-color: #4F46E5; /* indigo-600 */
        border-color: #4F46E5;
    }

    .btn-blue:active {
        background-color: #4338CA; /* indigo-700 */
    }


/* -------------------------
   DANGER (RED)
--------------------------*/
.btn-default {
    background-color: #EF4444; /* red-500 */
    border: 1px solid #EF4444;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.25s ease;
}

    .btn-default:hover {
        background-color: #DC2626; /* red-600 */
        border-color: #DC2626;
    }

    .btn-default:active {
        background-color: #B91C1C; /* red-700 */
    }


/* -------------------------
   SUCCESS (GREEN)
--------------------------*/
.btn-success {
    background-color: #22C55E; /* green-500 */
    border: 1px solid #22C55E;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.25s ease;
}

    .btn-success:hover {
        background-color: #16A34A; /* green-600 */
        border-color: #16A34A;
    }

    .btn-success:active {
        background-color: #15803D; /* green-700 */
    }


/* Action badge base */
.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    color: #111827;
    border: 1px solid transparent;
    max-width:98px;
    justify-content: center;
    box-shadow: 0 1px 0 rgba(16,24,40,0.02);
    font-family: 'Montserrat', sans-serif;
}

/* icon sizing */
.action-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 18px;
    color: inherit;
}

/* smaller text on tight spaces */
.action-text {
    line-height: 1;
}

/* Pending (amber) */
.action-badge.pending {
    background: rgba(245,158,11,0.08); /* very light amber background */
    color: #78350f; /* deep amber text (for contrast) */
    border-color: rgba(245,158,11,0.18);
}

    .action-badge.pending .action-icon {
        color: #f59e0b;
    }
    /* amber-500 */

    .action-badge.pending:hover {
        background: #f59e0b; /* amber-500 */
        color: #fff;
        border-color: #d97706;
    }

        .action-badge.pending:hover .action-icon {
            color: #fff;
        }

/* Generate (green) */
.action-badge.generate {
    background: rgba(34,197,94,0.08);
    color: #065f46;
    border-color: rgba(34,197,94,0.18);
}

    .action-badge.generate .action-icon {
        color: #22c55e;
    }

    .action-badge.generate:hover {
        background: #22c55e; /* green-500 */
        color: #fff;
        border-color: #16a34a;
    }

        .action-badge.generate:hover .action-icon {
            color: #fff;
        }

/* Revised (blue) */
.action-badge.revised {
    background: rgba(59,130,246,0.08); /* light blue */
    color: #1e3a8a; /* deep blue text */
    border-color: rgba(59,130,246,0.18);
}

    .action-badge.revised .action-icon {
        color: #3b82f6; /* blue-500 */
    }

    .action-badge.revised:hover {
        background: #3b82f6; /* blue-500 */
        color: #fff;
        border-color: #2563eb; /* blue-600 */
    }

        .action-badge.revised:hover .action-icon {
            color: #fff;
        }
/* Cancelled (red) */
.action-badge.cancelled {
    background: rgba(239,68,68,0.08); /* light red */
    color: #7f1d1d; /* deep red text */
    border-color: rgba(239,68,68,0.18);
}

    .action-badge.cancelled .action-icon {
        color: #ef4444; /* red-500 */
    }

    /* Cancelled ke liye hover optional hai (no action) */
    /* BUT agar premium hover chahiye toh ye use karo: */

    .action-badge.cancelled:hover {
        background: #ef4444; /* red-500 */
        color: #fff;
        border-color: #dc2626; /* red-600 */
    }

        .action-badge.cancelled:hover .action-icon {
            color: #fff;
        }


.action-badge.revise {
    background: #3b82f6;
    color: #fff;
    border-color: #2563eb;
    cursor: pointer;
}

.action-badge.cancel {
    background: #ef4444;
    color: #fff;
    border-color: #dc2626;
    cursor: pointer;
}

.action-badge.revise:not(:disabled):hover {
    background: #4338CA;
}

/* ✅ Cancel Button */
.action-badge.cancel {
    background: #DC2626; /* Professional red */
    border-color: #B91C1C;
    color: #ffffff;
}

    .action-badge.cancel:not(:disabled):hover {
        background: #B91C1C;
    }

/* ✅ Disabled State (Common for Both) */
.action-badge:disabled,
.action-badge[disabled] {
    background: #F1F1F1;
    border-color: #D4D4D4;
    color: #9A9A9A;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.9;
}



/* Print (indigo) */
.action-badge.print {
    background: rgba(99,102,241,0.08);
    color: #1f2937;
    border-color: rgba(99,102,241,0.18);
}

    .action-badge.print .action-icon {
        color: #6366f1;
    }

    .action-badge.print:hover {
        background: #6366f1; /* indigo-500 */
        color: #fff;
        border-color: #4f46e5;
    }

        .action-badge.print:hover .action-icon {
            color: #fff;
        }

/* compact look on very small screens */
@media (max-width: 480px) {
    .action-badge {
        padding: 4px 8px;
        gap: 6px;
        min-width: 72px;
        font-size: 12px;
    }

    .action-icon {
        width: 16px;
        height: 16px;
    }
}

.form-group.text-right {
    text-align: right;
}

.label-title {
    font-size: 14px;
    font-weight: 600;
    margin-right: 6px;
    color: #333;
}

.total-capacity-value {
    font-size: 14px;
    font-weight: 700;
    color: #0d6efd;
    padding: 4px 10px;
    background: #f1f5ff;
    border-radius: 6px;
    border: 1px solid #d7e3ff;
}
body.full-screen .all-wrapper{
    background-color: #fff;
}
.element-box {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 6px; 
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
}
a {
    color: #222;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #4f39f6;
    border-color: #4f39f6;
}
.pagination > li > a, .pagination > li > span
 {
    color: #4338ca;
}


.icon-x {
    width: 21px;
    height: 21px;
    vertical-align: middle;
    cursor: pointer;
    color: #dc2626;
}

.icon-x:hover {
    opacity: 0.9;
}

.icon-x--danger:hover {
    opacity: 0.95;
}
.serial {
    background-color: #e8f0ff;
    color: #0d6efd;
    padding: 6px 12px;
    font-size: 11px;
    height: 30px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    transition: 0.2s ease;
}
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.loader-box {
    background: white;
    padding: 25px 30px 10px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.export-btn {
    background-color: #e8f5e9; /* Soft Light Green */
    color: #2e7d32; /* Excel Green */
    border-color: #c8e6c9; /* Light Border */
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

    .export-btn:hover {
        background-color: #d0ebd6;
        border-color: #b7dbbe;
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }

.excel-icon {
    width: 16px;
    height: 16px;
}
.crm-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

/* Blue Button - Filter */
.btn-blues {
    background-color: #e8f0ff;
    color: #0d6efd;
    border-color: #cfe0ff;
}

    .btn-blues:hover {
        background-color: #dbe7ff;
        border-color: #bcd2ff;
        color: #0d6efd;
        box-shadow: 0 1px 5px rgba(13,110,253,0.25);
    }

/* Red Button - Remove Filter */
.btn-red {
    background-color: #ffebee;
    color: #d32f2f;
    border-color: #ffcdd2;
}

    .btn-red:hover {
        background-color: #ffcdd2;
        border-color: #ef9a9a;
        box-shadow: 0 1px 5px rgba(211,47,47,0.25);
    }
/* Toast container */
.toast-container {
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 99999;
}

/* Single toast */
.toast {
    min-width: 240px;
    padding: 12px 18px;
    margin-bottom: 12px;
    border-radius: 6px;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(120%);
    transition: all .4s ease;
    font-size: 12px;
    font-weight: 500;
}

    .toast.show {
        opacity: 1;
        transform: translateX(0);
    }

/* Success */
.toast-success {
    background-color: #4CAF50;
}

/* Error */
.toast-error {
    background-color: #F44336;
}

/* Info */
.toast-info {
    background-color: #2196F3;
}
