* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.section {
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.test-item {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.test-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

.btn-danger {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

.table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table th {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.data-table th:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.data-table tr:hover {
    background: #f8f9ff;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

/* Drag and Drop Styles */
.drag-container {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.drag-source,
.drop-zone {
    min-height: 200px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 1rem;
    flex: 1;
}

.drag-source {
    background: #f0f8ff;
}

.drop-zone {
    background: #f8fff0;
}

.draggable-item {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 10px;
    margin: 5px;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
}

.draggable-item:active {
    cursor: grabbing;
}

.drop-zone.drag-over {
    border-color: #667eea;
    background: #e8f0fe;
}

/* Shadow DOM Styles */
.shadow-host {
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

/* Iframe Styles */
.iframe-container {
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    overflow: hidden;
}

/* File Upload Styles */
.file-upload {
    border: 2px dashed #667eea;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    background: #f8f9ff;
    border-color: #5a6fd8;
}

.file-upload.drag-over {
    background: #e8f0fe;
    border-color: #4285f4;
}

/* Animation for loading states */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .drag-container {
        flex-direction: column;
    }
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-item input[type="radio"] {
    margin: 0;
}

.radio-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}
.checkbox-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.credentials-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.credential-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.credential-item:last-child {
    margin-bottom: 0;
}

.credential-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    margin-right: 0.5rem;
}

.credential-value {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
}
.edit-form {
    padding: 1rem;
}

.edit-form h3 {
    margin-bottom: 1rem;
    color: #333;
}

.edit-form .form-group {
    margin-bottom: 1rem;
}

.edit-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.edit-form .form-actions .btn {
    flex: 1;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ffffff;
    color: #667eea;
    border-color: #ffffff;
}

.contact-info p,
.tech-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p,
.maintained-by p {
    color: #e2e8f0;
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Autocomplete Styles */
.autocomplete-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.autocomplete-item:hover {
    background-color: #f8f9fa;
}

.autocomplete-item.selected {
    background-color: #e3f2fd;
    color: #1976d2;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item.highlighted {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* =============================================
   NEW STYLES: Playwright-Friendly Additions
   ============================================= */

/* Hint text */
.hint-text {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* === DISABLED STATES (visually clear) === */
.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(45deg, #94a3b8, #64748b) !important;
    pointer-events: none;
}

.form-control:disabled,
.form-control[disabled] {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

select:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

/* === STATUS BADGES === */
.status {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}
.status.active  { background: #dcfce7; color: #166534; }
.status.inactive { background: #fee2e2; color: #991b1b; }

/* === TOGGLE SWITCH === */
.toggle-group { display: flex; flex-direction: column; gap: 6px; }
.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.toggle-item:last-child { border-bottom: none; }
.toggle-label { font-weight: 500; color: #374151; font-size: 0.95rem; }
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
input:checked + .toggle-slider { background-color: #667eea; }
input:checked + .toggle-slider:before { transform: translateX(22px); }

/* Disabled toggle — visually grayed out */
input:disabled + .toggle-slider {
    background-color: #e2e8f0 !important;
    cursor: not-allowed;
    opacity: 0.55;
}
input:disabled + .toggle-slider:before { background-color: #cbd5e1; }

/* === OTP INPUT === */
.otp-container {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    color: #334155;
    background: white;
}
.otp-input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.15); }
.otp-input.filled  { border-color: #22c55e; background: #f0fdf4; }
.otp-input.otp-error { border-color: #ef4444; background: #fef2f2; animation: shake 0.3s; }
@keyframes shake {
    0%,100% { transform: translateX(0); }
    25%      { transform: translateX(-4px); }
    75%      { transform: translateX(4px); }
}

/* === TOAST NOTIFICATIONS === */
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 280px;
    pointer-events: all;
    animation: toastIn 0.3s ease;
}
.toast-success { background: #f0fdf4; color: #166534; border-left: 4px solid #22c55e; }
.toast-error   { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.toast-warning { background: #fffbeb; color: #92400e; border-left: 4px solid #f59e0b; }
.toast-info    { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }
.toast-icon    { font-size: 1.2rem; flex-shrink: 0; }
.toast-message { flex: 1; }
.toast-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 0 0 4px;
    color: inherit;
    flex-shrink: 0;
    line-height: 1;
}
.toast-close:hover { opacity: 1; }
@keyframes toastIn  { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(110%); opacity: 0; } }
.toast.removing { animation: toastOut 0.3s ease forwards; }

/* === PROGRESS BAR === */
.progress-bar-container {
    background: #e2e8f0;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.4s ease;
}
.progress-success { background: linear-gradient(90deg, #22c55e, #16a34a) !important; }
.progress-warning { background: linear-gradient(90deg, #f59e0b, #d97706) !important; }
.progress-danger  { background: linear-gradient(90deg, #ef4444, #dc2626) !important; }

/* === TABS === */
.tabs-container { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.tab-list {
    display: flex;
    background: #f8f9ff;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}
.tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s;
    white-space: nowrap;
}
.tab-btn:hover { color: #667eea; background: #f0f4ff; }
.tab-btn.active { color: #667eea; border-bottom-color: #667eea; background: white; }
.tab-content { padding: 1.25rem; }
.tab-panel h4 { margin-bottom: 0.75rem; color: #374151; }
.tab-panel p  { margin-bottom: 0.4rem; color: #555; }

/* === MULTI-STEP FORM === */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    gap: 4px;
}
.step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 0.9rem;
    color: #94a3b8;
    background: white;
    transition: all 0.3s;
}
.step-item.active    .step-dot { border-color: #667eea; color: #667eea; background: #eff6ff; }
.step-item.completed .step-dot { border-color: #22c55e; color: white;   background: #22c55e; }
.step-label { font-size: 0.72rem; color: #94a3b8; font-weight: 500; }
.step-item.active    .step-label { color: #667eea; }
.step-item.completed .step-label { color: #22c55e; }
.step-connector {
    flex: 1; height: 2px;
    background: #e2e8f0;
    max-width: 60px;
    margin: 0 6px;
    position: relative;
    top: -14px;
    transition: background 0.3s;
}
.step-connector.completed { background: #22c55e; }
.step-panel h4 { color: #374151; margin-bottom: 1rem; font-size: 1.05rem; }
.order-summary {
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.9;
    border: 1px solid #e2e8f0;
}

/* === ACCORDION === */
.accordion { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid #e2e8f0; }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    width: 100%;
    background: white;
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 500;
    color: #374151;
    text-align: left;
    transition: background 0.2s;
    gap: 1rem;
}
.accordion-header:hover { background: #f8f9ff; }
.accordion-header[aria-expanded="true"] { background: #f0f4ff; color: #667eea; }
.accordion-icon {
    font-size: 1.25rem;
    font-weight: bold;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.3s;
    line-height: 1;
}
.accordion-header[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); color: #667eea; }
.accordion-body {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}
.accordion-body code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.83em;
    color: #667eea;
}

/* === TEST CASES SECTION === */
.test-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.tc-category {
    background: #f8f9ff;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    border-top: 4px solid #667eea;
}
.tc-category:nth-child(2n)   { border-top-color: #f093fb; }
.tc-category:nth-child(3n)   { border-top-color: #36d1dc; }
.tc-category:nth-child(4n)   { border-top-color: #f5576c; }
.tc-category:nth-child(5n)   { border-top-color: #22c55e; }
.tc-category:nth-child(6n)   { border-top-color: #f59e0b; }
.tc-category-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.tc-list { padding-left: 1.2rem; margin: 0; }
.tc-list li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.55;
    border-bottom: 1px dashed #e8edf4;
}
.tc-list li:last-child { border-bottom: none; }
.tc-list li::marker { color: #667eea; font-weight: bold; }

/* === DARK MODE === */
body.dark-mode { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #e2e8f0; }
body.dark-mode .section { background: #1e293b; }
body.dark-mode .section h2 { color: #818cf8; border-color: #818cf8; }
body.dark-mode .test-item { background: #0f172a; border-left-color: #818cf8; }
body.dark-mode header { background: rgba(15, 23, 42, 0.97); }
body.dark-mode .logo { color: #818cf8; }
body.dark-mode .nav-links a { color: #e2e8f0; }
body.dark-mode .form-control { background: #1e293b; border-color: #334155; color: #e2e8f0; }
body.dark-mode .data-table td { border-color: #334155; color: #e2e8f0; }
body.dark-mode .data-table tr:hover { background: #1e293b; }
body.dark-mode .accordion { border-color: #334155; }
body.dark-mode .accordion-item { border-color: #334155; }
body.dark-mode .accordion-header { background: #1e293b; color: #e2e8f0; }
body.dark-mode .accordion-header:hover { background: #0f172a; }
body.dark-mode .accordion-header[aria-expanded="true"] { background: #0f172a; color: #818cf8; }
body.dark-mode .accordion-body { background: #1e293b; color: #cbd5e1; }
body.dark-mode .tabs-container { border-color: #334155; }
body.dark-mode .tab-list { background: #0f172a; border-color: #334155; }
body.dark-mode .tab-btn { color: #94a3b8; }
body.dark-mode .tab-btn.active { background: #1e293b; }
body.dark-mode .tab-content { background: #1e293b; }
body.dark-mode .tab-panel p { color: #cbd5e1; }
body.dark-mode .tc-category { background: #1e293b; }
body.dark-mode .tc-list li { color: #cbd5e1; border-color: #334155; }
body.dark-mode .modal-content { background: #1e293b; color: #e2e8f0; }
body.dark-mode .credentials-info { background: #0f172a; border-color: #334155; }
body.dark-mode .credential-value { background: #334155; color: #e2e8f0; }
body.dark-mode .toggle-label { color: #e2e8f0; }
body.dark-mode .otp-input { background: #1e293b; border-color: #334155; color: #e2e8f0; }

/* Scrollbar styling for autocomplete list */
.autocomplete-list::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.autocomplete-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.autocomplete-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
