/* frontend */
  .nexo-search-container { 
    position: relative; 
    width: 100%; 
    max-width: 500px; 
    margin: 0px 0; 
}
.nexo-input-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
}

#nexo-search-input {
    width: 410px;
    padding: 10px 15px;
    border: 2px solid #3143ef;
    font-size: 14px;
    outline: none;
}

/* Loader Spinner Styling */
.nexo-spinner {
    position: absolute;
    right: 15px;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(39, 59, 238, 0.2);
    border-top-color: #3143ef;
    border-radius: 50%;
    animation: nexo-spin 0.8s linear infinite;
}

@keyframes nexo-spin {
    to { transform: rotate(360deg); }
}

/* Clear Button Styling */
#nexo-clear-btn {
    position: absolute;
    right: 15px;
    background: #eee;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 20px;
    text-align: center;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nexo-results-list { 
    position: absolute; 
    background: #fff; 
    width: 100%; 
    border: 1px solid #ddd; 
    z-index: 9999; 
    max-height: 200px; 
    overflow-y: auto; 
    margin-top: 8px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}

.nexo-item { 
    padding: 12px 20px; 
    cursor: pointer; 
    border-bottom: 1px solid #eee; 
    font-size: 14px; 
    color: #333; 
    text-align: left;
}
.nexo-item:hover { 
    background: #f8f6ff; 
    color: #3143ef; 
}
.nexo-no-results { 
    padding: 15px; 
    text-align: center; 
}

/* admin page */
.nexo-wrapper { 
    margin-top: 30px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}
.nexo-header h1 { 
    color: #3143ef; 
    font-weight: 800; 
    font-size: 28px; 
    margin-bottom: 5px; 
}
.nexo-header p { 
    color: #666; 
}

.nexo-grid { 
    display: grid; 
    grid-template-columns: 1fr 350px; 
    gap: 20px; 
}
.nexo-card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}
.nexo-card h2 { 
    margin-top: 0; 
    font-size: 18px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 15px; 
    margin-bottom: 20px; 
}

.nexo-input-group { 
    margin-bottom: 25px; 
}
.nexo-input-group label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 10px; 
    color: #444; 
}

.nexo-select { 
    width: 100%; 
    max-width: 100% !important; 
    height: 45px !important; 
    border-radius: 8px !important; 
    border: 1px solid #ddd !important; 
}

/* Beautiful Upload Field */
.nexo-file-drop {
    position: relative;
    border: 2px dashed #d1c8f1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s;
    background: #f9f8ff;
    cursor: pointer;
}
.nexo-file-drop:hover { border-color: #3143ef; background: #f3f0ff; }
.nexo-file-drop input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.drop-zone-text span { 
    font-size: 40px; 
    color: #3143ef; 
    width: 40px; 
    height: 40px;
}
.drop-zone-text p { 
    font-size: 16px; 
    margin: 10px 0 5px; 
    color: #444; 
}
.drop-zone-text small { 
    color: #888; 
    font-style: italic;
}

.nexo-submit-btn {
    background: #3143ef;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}
.nexo-submit-btn:hover { background: #3143ef; }

/* Status Card Sidebar */
.status-item { 
    margin-bottom: 20px; 
    padding-left: 25px; 
    position: relative; 
}
.dot { 
    position: absolute; 
    left: 0; 
    top: 4px; 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background: #ccc;
}
.dot.active { 
    background: #2ecc71; 
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.5); 
}
.status-item strong { 
    display: block; 
    font-size: 14px; 
}
.status-item p { 
    margin: 2px 0 0; 
    font-size: 12px; 
    color: #777; 
}
.nexo-category-header {
    background: #eff0ff;
    color: #3143ef;
    font-weight: bold;
    font-size: 12px;
    padding: 8px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #c4c8ef;
}

/* Add a little indentation to the items under the header */
.nexo-item {
    padding-left: 30px !important;
}
.nexo-input {
    width: 100%;
    height: 45px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.nexo-input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(49, 125, 212, 0.1);
}
.nexo-category-header.nexo-clickable-header {
    display: flex;
    justify-content: space-between;
}


@media (max-width: 991px) {
    #nexo-search-input { 
    width: 100%; 
}
.nexo-grid {
    grid-template-columns: 1fr;

}
}

.nexo-no-results.nexo-contact-prompt {
    padding: 20px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    color: #081b3a;
}

.nexo-no-results.nexo-contact-prompt a {
    text-decoration: none;
    display: block;
}

.nexo-no-results.nexo-contact-prompt strong {
    color: #0056b3; /* Nexo Blue/Purple */
    text-decoration: underline;
}