/* Heading margin reset */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

/* Flex utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.gap-025 { gap: 0.25rem; }
.gap-05 { gap: 0.5rem; }
.gap-075 { gap: 0.75rem; }
.gap-1 { gap: 1rem; }
.gap-15 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }

.flex-1 { flex: 1; }
.flex-1-2 { flex: 1.2; }
.flex-1-5 { flex: 1.5; }
.flex-2 { flex: 2; }
.flex-3 { flex: 3; }
.flex-0 { flex: 0; }

.min-w-80 { min-width: 80px; }
.min-w-100 { min-width: 100px; }
.min-w-110 { min-width: 110px; }
.min-w-120 { min-width: 120px; }
.min-w-140 { min-width: 140px; }
.min-w-160 { min-width: 160px; }
.min-w-180 { min-width: 180px; }
.min-w-220 { min-width: 220px; }
.min-w-250 { min-width: 250px; }

.full-w { width: 100%; }
.auto-w { width: auto; }
.color-picker { width: 40px; height: 36px; padding: 2px; cursor: pointer; }

/* Text & Spacing */
.m-0 { margin: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-15 { margin-bottom: 1.5rem !important; }
.mb-20 { margin-bottom: 2rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.pt-14 { padding-top: 1.4rem !important; }

.text-left { text-align: left; }
.text-right { text-align: right; }
.small-text { font-size: 0.85rem; color: #666; }
.label-small { font-size: 0.8rem; color: #666; margin-bottom: 0.1rem; }
.label-bold { font-weight: bold; }
.cursor-pointer { cursor: pointer; }

/* Containers */
.container-login {
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
}

.container-admin {
    max-width: 800px;
    margin: 20px auto;
}

.admin-section {
    margin-bottom: 2rem;
}

.admin-pass-list {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-pass-form {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.admin-datasets-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.divider {
    border: 0;
    border-top: 1px solid #e4e4e7;
    margin: 1.5rem 0;
}

.divider-lg {
    border: 0;
    border-top: 1px solid #e4e4e7;
    margin: 2rem 0;
}

/* Badges & Items */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.badge-delay {
    background: #fef3c7;
    color: #92400e;
    font-weight: bold;
    font-size: 0.8rem;
}

.badge-token-level {
    background: #e0e7ff;
    color: #3730a3;
    font-weight: bold;
    font-size: 0.85rem;
}

.err-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.chart-card {
    padding: 1.5rem;
}

.chart-canvas-wrapper {
    position: relative;
    height: 320px;
    width: 100%;
}

.chart-title {
    margin-top: 0;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.stat-title {
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.stat-val {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-top: 0.5rem;
}

.list-item-row {
    margin: 0 0 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.admin-dataset-row {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.token-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    margin: 0 0 0.5rem 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.field-builder-card {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e4e4e7;
}

.schedule-builder-box {
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.choices-builder-box {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #e4e4e7;
}

.series-builder-box {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #e4e4e7;
}

.chart-builder-card {
    padding: 1rem;
    margin: 0 0 1rem 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.btn-icon-danger {
    padding: 0.4rem 0.6rem;
}

.btn-sm-secondary {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.flex-0-8 {
    flex: 0.8;
}

.builder-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.form-group-catchup {
    flex: 1.5;
    min-width: 180px;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    padding-top: 1.4rem !important;
}

.label-catchup {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: normal;
    margin: 0;
}

.bold-block-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.access-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
}
.perm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
}
.search-container {
    position: relative;
    margin-top: 10px;
}
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}
.search-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}
.search-item:hover {
    background: #f0f7ff;
}
.user-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.lvl-select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: auto;
}
.btn-remove {
    color: #dc3545;
    cursor: pointer;
    font-weight: bold;
    margin-left: 15px;
    font-size: 20px;
    padding: 0;
    background: none;
}
.btn-remove:hover {
    background: none;
}
.vapid-container {
    background: #f0f0f0;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    word-break: break-all;
}
.warning {
    font-style: italic;
    color: #555;
}
*, ::before, ::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
    color: #1c1e21;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container h2 {
    width: 100%;
    text-align: center;
}

/* Ensure headers do not wrap and buttons do not shrink */
.container .flex-between,
#screen-home .flex-between {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
}

.container .flex-between .btn,
.container .flex-between button,
.container .flex-between a,
#home-admin-btn-container button,
#home-admin-btn-container span,
.btn-back-to-home,
.btn-back-to-dataset,
.btn-logout {
    flex-shrink: 0 !important;
}

.container .flex-between h2,
#screen-home .flex-between h2 {
    width: auto !important;
    flex-grow: 1 !important;
    text-align: center !important;
    margin: 0 10px !important;
    white-space: nowrap !important;
    font-size: 1.5rem !important;
}

header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin: 0;
}

header a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner {
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: bold;
    min-width: 250px;
    animation: slideIn 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-saving {
    background-color: #007bff;
}

.banner-error {
    background-color: #dc3545;
}

.banner-warning {
    background-color: #f39c12;
}

.banner-close {
    cursor: pointer;
    margin-left: 15px;
    font-size: 20px;
    line-height: 1;
    opacity: 0.8;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card-container {
    position: relative;
    transition: transform 0.2s ease;
}

.card-container:hover {
    transform: translateY(-5px);
}

.card {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    overflow-x: auto;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.card h2 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #007bff;
}

.card p {
    margin: 0;
    color: #6a737d;
    font-size: 0.9rem;
}

.btn-delete-card {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4d;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.2s;
    z-index: 10;
    padding: 0;
}

.card-container:hover .btn-delete-card {
    opacity: 1;
}

.card-add {
    border: 2px dashed #007bff;
    background: #f0f7ff;
    cursor: pointer;
}

/* Removed legacy modal-overlay and duplicate modal-content styles to avoid conflict */
.modal-content h3 {
    margin-top: 0;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.card-action-access {
    border-color: #f39c12;
}

.card-action-settings {
    border-color: #34495e;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.stat-box h4 {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.stat-box span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.chart-container {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.builder-row .form-group {
    margin-bottom: 0;
}

.form-group label, .field label {
    display: block;
    text-align: left !important;
    font-weight: bold !important;
    margin-bottom: 0.4rem;
    width: 100%;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.mouse-field-container {
    margin-left: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

button, .btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

button:hover, .btn:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #f4f4f5 !important;
    color: #18181b !important;
    border: 1px solid #e4e4e7 !important;
}

.btn-secondary:hover {
    background-color: #e4e4e7 !important;
}

button.danger, .btn-danger, .danger {
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
}

button.danger:hover, .btn-danger:hover, .danger:hover {
    background-color: #bb2d3b !important;
}

.btn-secondary.danger {
    background-color: #fef2f2 !important;
    color: #dc3545 !important;
    border: 1px solid #fca5a5 !important;
}

.btn-secondary.danger:hover {
    background-color: #fee2e2 !important;
}

pre {
    text-align: left !important;
    white-space: pre-wrap;
    word-break: break-all;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.text-danger {
    color: #dc3545;
    text-decoration: none;
    cursor: pointer;
}

.hidden {
    display: none !important;
}


.mt-40 {
    margin-top: 40px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

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

.ml-20 {
    margin-left: 20px !important;
}

.p-40 {
    padding: 40px !important;
}

.text-center {
    text-align: center !important;
}

.w-100 {
    width: 100% !important;
}

.flex {
    display: flex !important;
}

.flex-col {
    flex-direction: column !important;
}

.gap-10 {
    gap: 10px !important;
}

.justify-center {
    justify-content: center !important;
}

.border-danger {
    border-color: #dc3545 !important;
}

.max-w-300 {
    max-width: 300px !important;
}

.max-w-250 {
    max-width: 250px !important;
}

.max-w-500 {
    max-width: 500px !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.no-border {
    border: none !important;
}

.p-0 {
    padding: 0 !important;
}

.font-bold {
    font-weight: bold !important;
}

.text-success {
    color: green;
    font-weight: bold;
}
.table-container {
    overflow-x: auto;
}
tbody tr:nth-child(2n) {
    background-color: #f9f9f9;
}
th[role=columnheader]:not(.no-sort) {
    cursor: pointer;
}
th[aria-sort=ascending]:after {
    content: ' ↑';
}
th[aria-sort=descending]:after {
    content: ' ↓';
}
.notif-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    cursor: pointer;
    border-radius: 12px;
    visibility: hidden;
}

.notif-btn:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.notif-btn.active {
    background: #fff3cd;
    border-color: #ffeeba;
}

.notif-btn.active:hover {
    background-color: #ffe8a1;
    border-color: #ffdb6e;
}

.notif-btn.is-visible {
    visibility: visible;
}

/* Custom Styles for Modal & Dashboard layout */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
}
.modal.hidden {
    display: none;
}
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.modal-content {
    position: relative;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    overflow-y: auto;
}
.close-btn {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 !important;
    color: #666;
    line-height: 1;
    box-shadow: none !important;
    outline: none !important;
}
.close-btn:hover {
    background: none !important;
    background-color: transparent !important;
    color: #000 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.app-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}
.card-dashed {
    border: 2px dashed #cbd5e1;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: center;
    text-align: center;
    min-height: 140px;
}
.card-dashed:hover {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.04);
}
.code-block {
    background: #f1f5f9;
    padding: 0.75rem;
    border-radius: 6px;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.9rem;
    color: #334155;
    border: 1px solid #e2e8f0;
}

/* Password eye-toggle, non-shrinking buttons, and webhook management styles */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.password-wrapper input {
    padding-right: 40px !important;
}
.password-toggle-btn {
    position: absolute;
    right: 10px;
    background: none !important;
    border: none !important;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    z-index: 2;
}
.btn-generate {
    flex-shrink: 0 !important;
}
.badge-header {
    background-color: #3b82f6;
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
    font-weight: 500;
}
.token-row, .webhook-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}
.inline-input, .inline-select {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.9rem !important;
    border-radius: 4px !important;
    border: 1px solid #cbd5e1 !important;
    height: 32px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 250px;
}
.min-w-300 {
    min-width: 300px;
}
.text-decoration-none {
    text-decoration: none !important;
}
.block {
    display: block !important;
}


@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f172a;
        --card-bg: #1e293b;
        --text-main: #f1f5f9;
        --text-muted: #94a3b8;
        --border-color: #334155;
        --input-bg: #1e293b;
        --primary-color: #3b82f6;
        --primary-hover: #60a5fa;
        --danger-color: #ef4444;
        --danger-hover: #f87171;
    }
    body {
        background-color: var(--bg-color);
        color: var(--text-main);
    }
    .modal-content, .card, .chart-card, .container, .code-block, .search-results, .admin-pass-form, .list-item-row, .token-row, .webhook-row, .admin-dataset-row, .user-tag, .access-section, .choices-builder-box, .series-builder-box, .chart-builder-card {
        background-color: var(--card-bg) !important;
        color: var(--text-main) !important;
        border-color: var(--border-color) !important;
    }
    h1, h2, h3, h4, h5, h6, .app-title, .chart-title, .stat-val {
        color: var(--text-main) !important;
    }
    .small-text, .label-small, .text-muted, .stat-title {
        color: var(--text-muted) !important;
    }
    input, select, textarea {
        background-color: #0f172a !important;
        color: var(--text-main) !important;
        border-color: var(--border-color) !important;
    }
    table th {
        background-color: #0f172a !important;
        color: #f1f5f9 !important;
        border-color: var(--border-color) !important;
    }
    table td {
        background-color: #1e293b !important;
        color: #f1f5f9 !important;
        border-color: var(--border-color) !important;
    }
    tbody tr:nth-child(2n) {
        background-color: #182234 !important;
    }
    .close-btn {
        color: var(--text-muted) !important;
    }
    .close-btn:hover {
        color: var(--text-main) !important;
    }
    .divider, .divider-lg {
        border-top-color: var(--border-color) !important;
    }
    .search-results {
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }
    .search-item:hover {
        background-color: #334155 !important;
    }
}

/* Fix close button position and width in login modal */
#login-modal .modal-content {
    position: relative !important;
}
#login-modal .close-btn {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 1.5rem !important;
    z-index: 1010 !important;
}

/* Margins on the first element to avoid overlap with the close button */
#login-modal-tabs {
    margin-right: 32px !important;
}
#modal-section-key h4 {
    margin-right: 32px !important;
}
