.ci-dashboard {

    color: #e0e0ff;
    padding: 25px;
    border-radius: 8px;
}

.ci-dashboard h2, .ci-dashboard h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.custom-file-upload {
    border: 1px solid #1A17AE ;
    display: inline-block;
    padding: 9px 12px;
    cursor: pointer;
    background-color: transparent;
    border-radius: 4px;
}
.custom-file-upload:hover {
    color: #e2e6ea;
}

.ci-csv-upload, .ci-manual-form {
    background: #16213e;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid #0f3460;
}

.page-btn { color: #fff;
    padding: 5px 10px;
    border: 1px solid #3452ff;
    background-color: transparent;
    }
 
 .ci-vin-search-input { margin-bottom: 20px !important; } 
 .ci-vin-search-results { margin-top: 20px !important; }
 
 
   
.page-btn.active { background-color:  #3452ff; color:#fff;   }

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.woocommerce table.shop_table td {
     vertical-align: top !important; 
}

.form-row input {
    width: 100%;
    padding: 10px;
    background: #0f3460;
    border: 1px solid #334155;
    color: #e0e0ff;
    border-radius: 4px;
}

.form-row-four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.form-row-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Set specific widths to prioritize important info */
#ci-inventory-table th:nth-child(2) { width: 18vw; } /* VIN */
#ci-inventory-table th:nth-child(3) { width: 17vw; } /* Actions */

#ci-inventory-table {
    width: 100%;
   table-layout: fixed; /* Forces columns to stay within the 100% width */
    border-collapse: collapse;
    word-wrap: break-word;
    background: #16213e;
}

#ci-inventory-table th,
#ci-inventory-table td {
    text-align: left;
    border-bottom: 1px solid #334155;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds ... to text that is too long */
    vertical-align: top;
    padding: 10px 5px;
}

#ci-inventory-table th {
    background: #0f3460;
    color: #a5b4fc;
}

.searchicon { position: absolute !important; z-index:2; left: 15px; top: 15px !important;  pointer-events: none; }

.button {
    background-color: #3b82f6 !important;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button:hover {
    background: #2563eb;
}

.button.alt {
    background: #22c55e;
}

.button.alt:hover {
    background: #16a34a;
}

/* Tab Styles */
.ci-tabs { margin-top: 25px; }
.ci-tab-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    border-bottom: 2px solid #1A17AE;
}
.ci-tab-nav li {
    padding: 12px 25px;
    cursor: pointer;
    border: 2px solid #1A17AE;
    border-bottom:0px;
    background: transparent;
    margin-right: 5px;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s;
    list-style:none !important;
}
.ci-tab-nav li.active {
    background: #3b82f6;
    color: white;
    font-weight: bold;
}
.ci-tab-content { display: none; }
.ci-tab-content.active { display: block; }


.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-row input {
    width: 100%;
    padding: 12px;
    background: #1e2937;
    border: 1px solid #475569;
    color: #e2e8f0;
    border-radius: 4px;
}
/* Gravity Forms VIN AJAX Search */
.ci-vin-ajax-search {
    position: relative;
    max-width: 520px;
}

.ci-vin-search-input {
    width: 100%;
    box-sizing: border-box;
}

.ci-vin-search-hint {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
}

.ci-vin-search-results {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.ci-vin-result,
.ci-vin-search-message {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.ci-vin-result:hover,
.ci-vin-result:focus {
    background: #f1f5f9;
}

.ci-vin-search-message {
    cursor: default;
    color: #64748b;
}
