
/* ===== MODAL ===== */
#settingsModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

#settingsModal .modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 16px 16px 0 0;
}

#settingsModal .modal-header h5 {
    font-weight: 700;
}

#settingsModal .btn-close {
    filter: invert(1);
}

/* ===== TABS ===== */
#settingsModal .nav-pills {
    gap: 10px;
}

#settingsModal .nav-pills .nav-link {
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    color: #555;
    background: #f1f3f7;
    transition: all 0.3s ease;
}

#settingsModal .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 6px 15px rgba(102,126,234,0.35);
}

/* ===== CARDS ===== */
#settingsModal .card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

#settingsModal .card h6 {
    font-weight: 700;
    margin-bottom: 12px;
}

/* ===== INPUTS ===== */
#settingsModal .form-control {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #ddd;
}

#settingsModal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.25);
}

/* ===== BUTTONS ===== */
#settingsModal .btn {
    border-radius: 10px;
    font-weight: 600;
}

#settingsModal .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
}

#settingsModal .btn-success {
    background: linear-gradient(135deg, #28c76f, #16a34a);
    border: none;
}



/* ===== TABLE ===== */
#settingsModal table {
    border-radius: 12px;
    overflow: hidden;
}

#settingsModal table thead {
    background: #f5f6fa;
}

#settingsModal table th {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

#settingsModal table td {
    font-size: 14px;
    vertical-align: middle;
}

/* ===== TAB SECTIONS ANIMATION ===== */
.tab-section {
    animation: fadeIn 0.35s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #settingsModal .modal-dialog {
        margin: 10px;
    }
}






/* ===== NAVBAR ===== */
.navbar-custom {
    background: #0a70bc;
    padding: 14px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* BRAND */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    
}

.navbar-brand-custom i {
    font-size: 1.8rem;
    background: rgba(255,255,255,0.15);
    padding: 8px;
    border-radius: 10px;
    
}

/* BUTTONS */
.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout i {
    font-size: 14px;
}

/* Hover Effect */
.btn-logout:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Focus */
.btn-logout:focus {
    box-shadow: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar-custom {
        padding: 12px 16px;
    }

    .navbar-brand-custom {
        font-size: 1.2rem;
    }

    .btn-logout {
        padding: 6px 14px;
        font-size: 13px;
    }
}

    /* ===== Custom 5-column layout for large screens ===== */
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}



/* ================= DASHBOARD WRAPPER ================= */


/* ================= HEADER ================= */
.dashboard-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.6s ease;
}

.dashboard-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-subtitle {
    font-size: 18px;
    color: #6c757d;
}

/* ================= GRID LAYOUT (KEY FIX) ================= */


/* ================= CARD ================= */

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.dashboard-card:hover::before {
    opacity: 0.08;
}

.card-primary::before {
    background: #0d6efd;
}

.card-success::before {
    background: #198754;
}

/* ================= ICON ================= */
.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,253,0.08);
}

.card-success .card-icon-wrapper {
    background: rgba(25,135,84,0.08);
}

.card-icon {
    font-size: 42px;
}

/* ================= TEXT ================= */
.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 14px;
}

.card-arrow {
    font-size: 20px;
    opacity: 0.7;
}

/* ================= ANIMATION ================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


   /* ===============Inventory============ */


      /* ===============================
   SELECT2 CUSTOM DESIGN
   (Same as Unit / Address)
================================ */

.select2-container--default .select2-selection--single {
    height: 42px;
       padding: 10px 12px;
 border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Selected text */
.select2-container--default .select2-selection--single
.select2-selection__rendered {
    color: #333;
    padding-left: 0;
    line-height: normal;
}

/* Arrow */
.select2-container--default .select2-selection--single
.select2-selection__arrow {
    height: 100%;
    right: 12px;
}

/* Focus effect (same as input) */
.select2-container--default.select2-container--focus
.select2-selection--single {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

/* Dropdown */
.select2-dropdown {
    border-radius: 10px;
    border: 2px solid #e1e8ed;
    overflow: hidden;
}

/* Options */
.select2-results__option {
    padding: 10px 12px;
    font-size: 0.95rem;
}

/* Hover option */
.select2-results__option--highlighted {
    background-color: #667eea !important;
    color: #fff;
}

/* Selected option */
.select2-results__option--selected {
    background-color: #e9ecff;
    color: #333;
}

    
/* IMAGE REQUIRED ERROR */
.form-group.image-error label {
    color: #dc3545; /* red */
}

.form-group.image-error .file-input-label {
    border: 2px dashed #dc3545;
    background: #fff5f5;
}

.form-group.image-error .required {
    color: #dc3545;
}


/* ===============================
   FORM CONTAINER
================================ */
.form-container {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ===============================
   SUCCESS ALERT
================================ */
.alert-success-custom {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #28a745;
    background-color: #d4edda;
    color: #155724;
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease;
}

.alert-success-custom i {
    margin-right: 10px;
    font-size: 1.2rem;
}

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

/* ===============================
   FORM SECTIONS
================================ */


.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #667eea;
}

/* ===============================
   FORM GROUP
================================ */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label i {
    color: #667eea;
    margin-right: 6px;
}

.form-group label .required {
    color: #dc3545;
}

/* ===============================
   INPUTS & SELECT
================================ */
.form-control-custom,
.form-select-custom {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}


.form-control-custom:focus,
.form-select-custom:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.form-control-custom:read-only {
    background: #f8f9fa;
}

.form-select-custom {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* ===============================
   GRID LAYOUTS (DESKTOP)
================================ */
.form-row-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.form-row-6 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===============================
   FILE UPLOAD
================================ */
.file-input-wrapper {
    position: relative;
    width: 100%;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 2px dashed #e1e8ed;
    border-radius: 10px;
    cursor: pointer;
    background: #f8f9fa;
    transition: 0.3s;
}

.file-input-label:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-input-label i {
    margin-right: 8px;
    color: #667eea;
}

.file-name {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #28a745;
    display: none;
}

/* ===============================
   BUTTON
================================ */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.35);
}

/* ===============================
   BADGE
================================ */
.calculated-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
}

/* ===============================
   PAGE HEADER
================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ===============================
   MODAL
================================ */
.modal-body {
    overflow-x: auto;
}

.modal-body table {
    min-width: 850px;
}

/* ===============================
   IMAGE PREVIEW
================================ */
#edit_front_preview img,
#edit_left_preview img,
#edit_right_preview img,
#edit_interior_preview img {
    width: 100%;
    max-width: 120px;
    height: auto;
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================ */

/* MOBILE */
@media (max-width: 768px) {

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
      .page-header h1 i {
        font-size: 1.7rem;
        padding-left: 23px;
    }

    .page-header.inventory-header h1.text-white,
    .page-header.inventory-header p.text-white {
        padding-left: 19px !important;
    }
    .page-header button {
        width: 100%;
    }

    .form-container {
        padding: 20px 15px;
    }

    .form-row-5,
    .form-row-4,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .form-section-title {
        font-size: 1.05rem;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

    .form-control-custom,
    .form-select-custom {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 14px;
    }

     .page-header h1{
        padding-left:18px;
    }
}
















/* ================= MOBILE FIX (INVENTORY FORM) ================= */

/* ==================================================
   FINAL MOBILE RESPONSIVE FIX – INVENTORY FORM
================================================== */

/* PAGE CONTAINER FIX */
.page-container {
   
    margin: auto;
    padding: 20px;
}

/* HEADER */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ---------------- TABLET ---------------- */
@media (max-width: 992px) {

    .page-container {
        max-width: 100%;
        padding: 15px;
    }

    .form-row-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {

    /* HEADER STACK */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-header h1,
    .page-header p {
        padding-left: 0 !important;
        text-align: left;
    }

    .page-header button {
        width: 100%;
        margin: 0 !important; /* FIX me-5 issue */
    }

    /* FORM GRID → SINGLE COLUMN */
    .form-row-5,
    .form-row-4,
    .form-row-3 {
        grid-template-columns: 1fr !important;
    }

    .form-container {
        padding: 20px 15px;
    }

    .form-section-title {
        font-size: 1.05rem;
    }
}

/* ---------------- SMALL MOBILE ---------------- */
@media (max-width: 480px) {

    .form-control-custom,
    .form-select-custom {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 14px;
        font-size: 1rem;
    }

    .file-input-label {
        padding: 12px;
        font-size: 14px;
    }
}

/* =========================================
   FINAL RESPONSIVE (DESKTOP + MOBILE)
========================================= */

/* PAGE WIDTH */
.page-container {
    max-width: 1400px;
    margin: auto;
    padding: 24px;
}

/* HEADER */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ================= DESKTOP ================= */
@media (min-width: 992px) {

    .form-row-5 { grid-template-columns: repeat(6, 1fr); }
    .form-row-4 { grid-template-columns: repeat(4, 1fr); }
    .form-row-3 { grid-template-columns: repeat(3, 1fr); }

    .form-container {
        padding: 40px;
    }
}

/* ================= TABLET ================= */
@media (max-width: 991px) {

    .page-container {
        max-width: 100%;
        padding: 20px;
    }

    .form-row-5,
    .form-row-4,
    .form-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .page-container {
        padding: 15px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-header h1,
    .page-header p {
        padding-left: 0 !important;
    }

    .page-header button {
        width: 100%;
        margin: 0 !important;
    }

    .form-row-5,
    .form-row-4,
    .form-row-3 {
        grid-template-columns: 1fr !important;
    }

    .form-container {
        padding: 20px 15px;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

    .form-control-custom,
    .form-select-custom {
        font-size: 0.95rem;
        padding: 12px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 1rem;
    }
}

  /* ==================Brand page===================== */
     
       

       

        .page-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .page-header {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .page-header h1 {
            color: #333;
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .page-header h1 i {
            color: #667eea;
            font-size: 2.2rem;
        }

        .page-header p {
            color: #666;
            margin: 10px 0 0 0;
            font-size: 0.95rem;
        }

        .form-container {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .alert-success-custom {
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            border-left: 4px solid #28a745;
            background-color: #d4edda;
            color: #155724;
            display: flex;
            align-items: center;
            animation: slideDown 0.3s ease;
        }

        .alert-success-custom i {
            margin-right: 10px;
            font-size: 1.2rem;
        }

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

        .form-section {
            margin-bottom: 35px;
        }

        .form-section-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-section-title i {
            color: #667eea;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .form-group label i {
            color: #667eea;
            margin-right: 5px;
            width: 18px;
        }

        .input-group-custom {
            position: relative;
        }

        .form-control-custom,
        .form-select-custom {
            width: 100%;
            padding: 14px 15px;
            border: 2px solid #e1e8ed;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
            background: white;
        }

        .form-control-custom:focus,
        .form-select-custom:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-select-custom {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            padding-right: 40px;
        }

        .file-input-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
            width: 100%;
        }

        .file-input-wrapper input[type=file] {
            position: absolute;
            left: -9999px;
        }

        .file-input-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px 15px;
            border: 2px dashed #e1e8ed;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #f8f9fa;
            color: #666;
        }

        .file-input-label:hover {
            border-color: #667eea;
            background: #f0f4ff;
        }

        .file-input-label i {
            margin-right: 10px;
            color: #667eea;
            font-size: 1.2rem;
        }

        .file-name {
            margin-top: 8px;
            font-size: 0.85rem;
            color: #28a745;
            display: none;
        }

        .file-name i {
            margin-right: 5px;
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-submit i {
            font-size: 1.2rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
         .form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

        @media (max-width: 768px) {
           

            .page-header {
                padding: 20px;
            }

            .page-header h1 {
                font-size: 1.5rem;
            }

            .page-header h1 i {
                font-size: 1.7rem;
            }

            .form-container {
                padding: 25px 20px;
            }

            /* .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            } */
         


            .form-section-title {
                font-size: 1.1rem;
            }

            .btn-submit {
                padding: 14px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .page-header h1 {
                font-size: 1.3rem;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .form-control-custom,
            .form-select-custom {
                padding: 12px;
                font-size: 0.95rem;
            }
        }


        /* ===============================
   RESPONSIVE GRID FIX (ALL DEVICES)
   =============================== */

/* Default (Desktop) */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Large tablets & small laptops */
@media (max-width: 1200px) {
    .page-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .form-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .form-row,
    .form-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-container {
        padding: 0 10px;
    }

    .form-container {
        padding: 20px 15px;
    }

    .page-header {
        padding: 20px 15px;
    }

    .page-header h1 {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 14px;
    }
}



.info-box{
    background:#f8f9fa;
    border-radius:10px;
    padding:12px 14px;
    height:100%;
}

.info-box span{
    font-size:12px;
    color:#6c757d;
    display:block;
    margin-bottom:4px;
}

.info-box strong{
    font-size:14px;
    color:#212529;
    font-weight:600;
}

/* ================Brand-Poc page====================== */

       

       
        .page-container {
            max-width: 1190px;
            margin: 0 auto;
        }

        .page-header {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .page-header h1 {
            color: #333;
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .page-header h1 i {
            color: #667eea;
            font-size: 2.2rem;
        }

        .page-header p {
            color: #666;
            margin: 10px 0 0 0;
            font-size: 0.95rem;
        }

        .form-container {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .alert-success-custom {
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            border-left: 4px solid #28a745;
            background-color: #d4edda;
            color: #155724;
            display: flex;
            align-items: center;
            animation: slideDown 0.3s ease;
        }

        .alert-success-custom i {
            margin-right: 10px;
            font-size: 1.2rem;
        }

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

        .form-section {
            margin-bottom: 0px;
        }

        .form-section-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-section-title i {
            color: #667eea;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .form-group label i {
            color: #667eea;
            margin-right: 5px;
            width: 18px;
        }

        .form-group label .required {
            color: #0c0c0c;
            margin-left: 3px;
        }

        .form-control-custom,
        .form-select-custom {
            width: 100%;
            padding: 14px 15px;
            border: 2px solid #e1e8ed;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
            background: white;
        }

        .form-control-custom:focus,
        .form-select-custom:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-select-custom {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            padding-right: 40px;
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-submit i {
            font-size: 1.2rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .info-badge {
            display: inline-block;
            background: #e8f0fe;
            color: #1967d2;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 8px;
        }

        @media (max-width: 768px) {
          

            .page-header {
                padding: 20px;
            }

            .page-header h1 {
                font-size: 1.5rem;
            }

            .page-header h1 i {
                font-size: 1.7rem;
            }

            .form-container {
                padding: 25px 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .form-section-title {
                font-size: 1.1rem;
            }

            .btn-submit {
                padding: 14px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .page-header h1 {
                font-size: 1.3rem;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .form-control-custom,
            .form-select-custom {
                padding: 12px;
                font-size: 0.95rem;
            }

            .info-badge {
                display: block;
                margin-left: 0;
                margin-top: 5px;
                width: fit-content;
            }
        }
      
.poc-card{
    background:#f8f9fa;
    border-radius:12px;
    padding:14px 16px;
    height:100%;
}

.poc-card span{
    font-size:12px;
    color:#6c757d;
    display:block;
    margin-bottom:4px;
}

.poc-card strong{
    font-size:14px;
    font-weight:600;
    color:#212529;
}




.form-control-custom,
.form-select-custom{
    width:100%;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #dee2e6;
    font-size:14px;
}

.form-control-custom:focus,
.form-select-custom:focus{
    border-color:#667eea;
    outline:none;
}

    /* =========================Brand-Requirement page======================== */
    
    
        :root {
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --primary-color: #667eea;
            --primary-dark: #5568d3;
            --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            --card-shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
            --input-focus: 0 0 0 3px rgba(102, 126, 234, 0.15);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

       
        .container {
            animation: fadeIn 0.6s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            background: white;
        }

        .card:hover {
            box-shadow: var(--card-shadow-hover);
        }

        .card-header {
            background: var(--primary-gradient);
            color: #fff;
            border-radius: 0;
            padding: 28px 32px;
            border: none;
            position: relative;
            overflow: hidden;
        }

        .card-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: translate(0, 0);
            }
            50% {
                transform: translate(-10px, -10px);
            }
        }

        .card-header h5 {
            margin: 0;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -0.5px;
            position: relative;
            z-index: 1;
        }


        label {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
            font-size: 14px;
            letter-spacing: 0.3px;
            display: block;
        }

        .form-control,
        .form-select {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 12px 16px;
            font-size: 15px;
            transition: var(--transition);
            background: #f8f9fa;
        }

        .form-control:focus,
        .form-select:focus {
            background: white;
            border-color: var(--primary-color);
            box-shadow: var(--input-focus);
            outline: none;
        }

        .form-control::placeholder {
            color: #adb5bd;
            font-size: 14px;
        }

        .row.mb-3 {
            margin-bottom: 24px !important;
        }

        .mb-4 {
            margin-bottom: 28px !important;
        }

        .btn-primary {
            background: var(--primary-gradient);
            border: none;
            border-radius: 12px;
            padding: 6px 20px;
            font-weight: 600;
            font-size: 16px;
            letter-spacing: 0.5px;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            position: relative;
            overflow: hidden;
        }
         .btn-req{
             padding: 10px 32px;
         }
        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s ease;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .alert-success {
            border: none;
            border-radius: 12px;
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            color: #155724;
            padding: 16px 20px;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
            animation: slideDown 0.4s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .btn-close {
            opacity: 0.6;
        }

        .btn-close:hover {
            opacity: 1;
        }

        .form-group-wrapper {
            position: relative;
        }

        .form-group-wrapper::after {
            content: '';
            position: absolute;
            bottom: -24px;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #e9ecef, transparent);
        }

        .form-group-wrapper:last-child::after {
            display: none;
        }

        /* Icon indicators for inputs */
        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #adb5bd;
            font-size: 18px;
            pointer-events: none;
            transition: var(--transition);
        }

        .form-control:focus + .input-icon,
        .form-select:focus + .input-icon {
            color: var(--primary-color);
        }

        @media (max-width: 768px) {
            .card-body {
                padding: 32px 24px;
            }

            .card-header {
                padding: 24px;
            }

            .card-header h5 {
                font-size: 20px;
            }
        }



    .all-req-btn{
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.all-req-btn:hover{
    background: #fff;
    color: #667eea;
    transform: translateY(-1px);
}

     
/* =================Opportunities==================== */

        :root {
            --primary-color: #6366f1;
            --secondary-color: #ec4899;
            --success-color: #10b981;
            --dark-color: #1e293b;
        }

        .modal-xl {
            max-width: 96%;
        }

        .modal-content {
            border: none;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.25);
            overflow: hidden;
        }

        .modal-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 0.8rem 1.5rem;
            border: none;
        }

        .modal-title {
            font-size: 1.3rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-close {
            filter: brightness(0) invert(1);
            opacity: 1;
        }

        .modal-body {
            background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
            padding: 1.2rem;
        }

        /* Two Part Layout */
        .two-part-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .part-card {
            background: white;
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 2px solid;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .part-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--part-color) 0%, var(--part-color-light) 100%);
        }

        .part-card.part-1 {
            --part-color: #6366f1;
            --part-color-light: #a5b4fc;
            border-color: #e0e7ff;
        }

        .part-card.part-2 {
            --part-color: #ec4899;
            --part-color-light: #f9a8d4;
            border-color: #fce7f3;
        }

        .part-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .part-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0.8rem;
            padding-bottom: 0.6rem;
            border-bottom: 2px solid;
        }

        .part-1 .part-header {
            border-bottom-color: #e0e7ff;
            color: #6366f1;
        }

        .part-2 .part-header {
            border-bottom-color: #fce7f3;
            color: #ec4899;
        }

        .part-number {
            font-size: 1.5rem;
            font-weight: 900;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--part-color) 0%, var(--part-color-light) 100%);
            color: white;
            box-shadow: 0 3px 8px rgba(0,0,0,0.15);
        }

        .part-title {
            font-size: 1.1rem;
            font-weight: 800;
            margin: 0;
        }

        /* 6 Data Items in One Row */
        .data-row {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .data-item {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 0.6rem;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .data-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 2px;
            height: 100%;
            background: var(--part-color);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .data-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            border-color: var(--part-color);
        }

        .data-item:hover::before {
            transform: scaleY(1);
        }

        .data-label {
            font-size: 0.6rem;
            text-transform: uppercase;
            color: #64748b;
            font-weight: 700;
            letter-spacing: 0.3px;
            margin-bottom: 0.3rem;
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .data-label i {
            font-size: 0.7rem;
            color: var(--part-color);
        }

        .data-value {
            font-size: 0.75rem;
            font-weight: 700;
            color: #0f172a;
            word-break: break-word;
            line-height: 1.2;
        }

        /* Image Gallery */
        .image-section {
            background: white;
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 2px solid #e0e7ff;
        }

        .image-section-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0.8rem;
            color: #6366f1;
            font-size: 1rem;
            font-weight: 800;
        }

        .image-gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.8rem;
        }

        .image-box {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            aspect-ratio: 4/3;
            transition: all 0.4s ease;
            border: 2px solid white;
        }

        .image-box:hover {
            transform: scale(1.08) rotate(2deg);
            box-shadow: 0 15px 35px rgba(0,0,0,0.25);
            z-index: 10;
        }

        .image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .image-box:hover img {
            transform: scale(1.1);
        }

        .image-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
            color: white;
            padding: 0.8rem 0.6rem 0.4rem;
            font-size: 0.65rem;
            font-weight: 700;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .image-icon {
            display: block;
            font-size: 0.9rem;
            margin-bottom: 0.2rem;
        }

        /* POC Section */
        .poc-section {
            background: white;
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 2px solid #fce7f3;
        }

        .poc-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0.8rem;
            color: #ec4899;
            font-size: 1rem;
            font-weight: 800;
        }

        @media (max-width: 1400px) {
            .data-row {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 992px) {
            .two-part-container {
                grid-template-columns: 1fr;
            }

            .data-row {
                grid-template-columns: repeat(2, 1fr);
            }

            .image-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .data-row {
                grid-template-columns: 1fr;
            }

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


        /* opportunity.index */
        

   