:root {
    --bg-gradient: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
    --panel-bg: rgba(15, 23, 42, 0.85);
    --panel-border: rgba(255, 255, 255, 0.1);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-rgb: 59, 130, 246;
    --primary-hover: #2563eb;
    --danger: #ef4444;
    --active-item: rgba(255, 255, 255, 0.08);
    --hover-item: rgba(255, 255, 255, 0.04);
}

.folder-list li.drag-hover {
    background: rgba(59, 130, 246, 0.25) !important;
    border-left: 3px solid var(--primary) !important;
    color: #fff !important;
    transform: scale(1.02);
    transition: 0.1s ease-in-out;
}
.danger-hover:hover {
    color: var(--danger) !important;
}
.dragging {
    opacity: 0.4;
    border: 1px dashed var(--primary) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body.theme-dark-shine {
    background: var(--bg-gradient);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Snowflake Background Effect */
body.theme-dark-shine::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(4px 4px at 20px 30px, rgba(255,255,255,0.1), transparent),
        radial-gradient(4px 4px at 40px 70px, rgba(255,255,255,0.15), transparent),
        radial-gradient(6px 6px at 90px 40px, rgba(255,255,255,0.05), transparent);
    background-size: 200px 200px;
    opacity: 0.5;
    z-index: -1;
}

.screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

/* --------------------
   Login Screen
-------------------- */
#login-screen {
    justify-content: center;
    align-items: center;
}

.login-container {
    background: rgba(10, 14, 20, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--panel-border);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    text-align: center;
}

.login-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px 15px;
    padding-left: 45px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--primary);
}

.input-group ion-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.email-split-group {
    display: flex;
    align-items: stretch;
}

.email-split-group .at-symbol {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    color: var(--text-muted);
}

#login-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

#login-btn:hover {
    background: var(--primary-hover);
}

.error-msg {
    color: var(--danger);
    font-size: 13px;
    margin-top: 10px;
}

.admin-link {
    margin-top: 20px;
    font-size: 13px;
}
.admin-link a {
    color: var(--text-muted);
    text-decoration: none;
}
.admin-link a:hover {
    color: var(--text-main);
}


/* --------------------
   Top Toolbar
-------------------- */
.top-toolbar {
    height: 50px;
    background: rgba(10, 14, 20, 0.5);
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    backdrop-filter: blur(12px);
    z-index: 100;
}

.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
    text-decoration: none;
}

.toolbar-btn:hover {
    background: var(--hover-item);
    color: #fff;
}

.compose-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.compose-btn:hover {
    background: var(--primary-hover);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}


/* --------------------
   3-Pane Layout
-------------------- */
.app-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 15px;
}

.sidebar, .email-list-pane, .email-view-pane {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    flex-shrink: 0;
    margin-right: 15px;
}

.email-list-pane {
    width: 350px;
    flex-shrink: 0;
}

.email-view-pane {
    flex: 1;
    min-width: 400px;
}

/* Resizer Element */
.layout-resizer {
    width: 15px;
    flex-shrink: 0;
    cursor: col-resize;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}
.layout-resizer::after {
    content: '';
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: all 0.2s ease;
}
.layout-resizer:hover::after,
.layout-resizer.dragging::after {
    background: var(--primary);
    height: 80px;
    box-shadow: 0 0 8px var(--primary);
}

/* Sidebar */
.folder-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
    padding: 10px 0;
}

.folder-list li {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    transition: 0.2s;
}

.folder-list li:hover {
    background: var(--hover-item);
    color: var(--text-main);
}

.folder-list li.active {
    background: var(--active-item);
    color: #fff;
    border-left: 3px solid var(--primary);
}

.quota-container {
    padding: 15px 20px;
    border-top: 1px solid var(--panel-border);
}

.quota-text-flex {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.quota-bar-bg {
    background: rgba(0,0,0,0.5);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.quota-bar-fill {
    background: var(--primary);
    width: 0%;
    height: 100%;
    transition: width 0.3s;
}

/* Email List Pane */
.pane-header {
    padding: 10px 15px;
    border-bottom: 1px solid var(--panel-border);
    background: rgba(0,0,0,0.2);
}

.search-bar {
    position: relative;
    margin-bottom: 10px;
}

.search-bar input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.search-bar ion-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-actions input[type="checkbox"] {
    cursor: pointer;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: 0.2s;
}

.icon-btn:hover {
    background: var(--hover-item);
    color: var(--text-main);
}

.email-list {
    flex: 1;
    overflow-y: auto;
}

.email-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--panel-border);
    cursor: pointer;
    display: flex;
    gap: 10px;
}

.email-item:hover {
    background: var(--hover-item);
}

.email-item.unread {
    background: rgba(255,255,255,0.03);
}

.email-item.unread .email-subject {
    font-weight: 600;
    color: #fff;
}

.email-checkbox {
    margin-top: 3px;
}

.email-item-content {
    flex: 1;
    min-width: 0;
}

.email-header-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
}

.email-sender {
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-date {
    color: var(--text-muted);
    font-size: 11px;
}

.email-subject {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Email Content Pane */
.email-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#email-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.empty-state ion-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.full-email-header {
    padding: 20px;
    border-bottom: 1px solid var(--panel-border);
    background: rgba(0,0,0,0.1);
}

.full-email-subject {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.email-actions-header {
    display: flex;
    gap: 8px;
}

.full-email-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.full-email-sender-info {
    display: flex;
    flex-direction: column;
}

.full-email-from {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.full-email-date {
    font-size: 12px;
    color: var(--text-muted);
}

.full-email-body {
    padding: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    overflow-y: auto;
    flex: 1;
}

.attachments-list {
    padding: 15px 25px;
    border-top: 1px solid var(--panel-border);
    background: rgba(0,0,0,0.2);
}

.attachment-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: 0.2s;
}

.attachment-item:hover {
    background: var(--hover-item);
    border-color: var(--text-muted);
}


/* --------------------
   Compose Modal
-------------------- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.compose-window {
    background: #161b22;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    width: 98vw;
    height: 98vh;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-header {
    padding: 12px 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    font-size: 14px;
    font-weight: 500;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#compose-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-group {
    border-bottom: 1px solid var(--panel-border);
}

.flex-row {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.flex-row label {
    font-size: 13px;
    color: var(--text-muted);
    width: 60px;
}

.flex-row input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 0;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
}

.text-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    padding: 5px;
    margin-left: 5px;
}

.editor-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom: none;
}

#quill-editor {
    flex: 1;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
}

.ql-toolbar.ql-snow {
    border: none !important;
    border-bottom: 1px solid var(--panel-border) !important;
    background: rgba(255,255,255,0.02);
}

.ql-container.ql-snow {
    border: none !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ql-editor {
    flex: 1;
    overflow-y: auto !important;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.ql-stroke {
    stroke: var(--text-muted) !important;
}
.ql-fill {
    fill: var(--text-muted) !important;
}

.attachments-group {
    padding: 10px 15px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--panel-border);
}

.attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
}

.attachment-btn:hover {
    color: var(--primary-hover);
}

.attachment-preview-list {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.att-preview {
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.att-preview ion-icon {
    cursor: pointer;
    color: var(--danger);
}

.modal-footer {
    padding: 12px 20px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--panel-border);
    display: flex;
    justify-content: flex-end;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-btn:hover {
    background: var(--primary-hover);
}

/* Tooltips */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 10;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Settings Modal Specifics */
.settings-tabs li {
    transition: 0.2s;
}
.settings-tabs li:hover {
    background: rgba(255,255,255,0.05);
}
.settings-tabs li.active {
    background: rgba(255,255,255,0.08);
    color: var(--primary) !important;
    border-left: 3px solid var(--primary);
}

/* Toast Notifications */
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    min-width: 300px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1), toast-fade-out 0.4s 3.6s forwards;
    pointer-events: auto;
}
.toast-success {
    border-left: 4px solid #10b981;
}
.toast-success ion-icon {
    color: #10b981;
    font-size: 20px;
}
.toast-error {
    border-left: 4px solid #ef4444;
}
.toast-error ion-icon {
    color: #ef4444;
    font-size: 20px;
}
.toast-info {
    border-left: 4px solid #3b82f6;
}
.toast-info ion-icon {
    color: #3b82f6;
    font-size: 20px;
}
.toast-warning {
    border-left: 4px solid #f59e0b;
}
.toast-warning ion-icon {
    color: #f59e0b;
    font-size: 20px;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes toast-fade-out {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Contacts Modal */
.contacts-window {
    background: #161b22;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    width: 95%;
    max-width: 950px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contact-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--panel-border);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: 0.2s;
}
.contact-item:hover {
    background: var(--hover-item);
}
.contact-item.active {
    background: var(--active-item);
    border-left: 3px solid var(--primary);
}
.contact-item-name {
    font-weight: 500;
    color: #fff;
    font-size: 14px;
}
.contact-item-email {
    font-size: 12px;
    color: var(--text-muted);
}

/* Autocomplete Contacts Dropdown */
.contacts-autocomplete {
    position: absolute;
    background: #161b22;
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    max-height: 180px;
    overflow-y: auto;
    width: 100%;
    max-width: 400px;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    border-bottom: 1px solid var(--panel-border);
}
.autocomplete-item:hover {
    background: var(--hover-item);
}
.autocomplete-item-name {
    font-weight: 500;
    color: #fff;
}
.autocomplete-item-email {
    color: var(--text-muted);
}

/* User Profile Sidebar Dropdown Menu */
#user-dropdown-menu li:hover {
    background: var(--hover-item);
    color: #fff;
}
.sidebar-user-section button {
    transition: 0.2s;
}
.sidebar-user-section button:hover {
    background: rgba(255,255,255,0.12) !important;
}

/* Custom Folders Management styles */
.folder-management-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    border-radius: 4px;
    transition: 0.2s;
}
.folder-management-bar button:hover {
    background: var(--hover-item);
}

/* Premium Glassmorphic Badge & Tag styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.08);
}
.tag-importante {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}
.tag-urgente {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}
.tag-trabalho {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}
.tag-pessoal {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}
.tag-cliente {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 6px rgba(234, 179, 8, 0.2);
}

/* Modal overlay & custom settings adjustments */
.settings-tab-pane {
    max-height: calc(75vh - 120px);
    overflow-y: auto;
}

/* Premium Outlook Details container */
.outlook-details-panel {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    animation: fadeIn 0.2s ease-out;
}
.outlook-details-row {
    display: flex;
    font-size: 12px;
    margin-bottom: 6px;
}
.outlook-details-row:last-child {
    margin-bottom: 0;
}
.outlook-details-label {
    width: 60px;
    color: var(--text-muted);
    font-weight: 500;
}
.outlook-details-value {
    flex: 1;
    color: #fff;
    word-break: break-all;
}

/* Custom Calendar date input adjustments */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}


/* Context Menu */
.context-menu {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9999;
    min-width: 200px;
    padding: 6px 0;
    font-size: 13px;
    color: #fff;
}
.context-menu ul { list-style: none; padding: 0; margin: 0; }
.context-menu li {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
    position: relative;
}
.context-menu li:hover { background: rgba(255, 255, 255, 0.1); }
.context-menu hr { border: none; border-top: 1px solid var(--panel-border); margin: 4px 0; }
.context-submenu {
    position: absolute;
    left: 100%;
    top: -5px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    min-width: 180px;
    padding: 6px 0;
}
.has-submenu:hover > .context-submenu { display: block !important; }

/* Email tag coloring */
.email-item.has-tag-importante { border-left: 3px solid #ef4444; background: rgba(239, 68, 68, 0.05); }
.email-item.has-tag-urgente { border-left: 3px solid #f59e0b; background: rgba(245, 158, 11, 0.05); }
.email-item.has-tag-trabalho { border-left: 3px solid #3b82f6; background: rgba(59, 130, 246, 0.05); }
.email-item.has-tag-pessoal { border-left: 3px solid #10b981; background: rgba(16, 185, 129, 0.05); }

/* Custom Settings Redesign */
.settings-window {
    background: rgba(15, 20, 30, 0.7) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6) !important;
    border-radius: 16px !important;
}

.settings-sidebar {
    background: rgba(0,0,0,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
    padding: 30px 0 !important;
}

.settings-sidebar h3 {
    padding: 0 25px !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 25px !important;
    letter-spacing: -0.5px !important;
}

.settings-nav a {
    padding: 14px 25px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-left: 3px solid transparent !important;
}

.settings-nav a:hover {
    background: rgba(255,255,255,0.04) !important;
    color: #fff !important;
}

.settings-nav a.active {
    background: rgba(var(--primary-rgb), 0.12) !important;
    color: var(--primary) !important;
    border-left-color: var(--primary) !important;
}

.settings-nav a ion-icon {
    font-size: 20px !important;
}

.settings-content {
    background: transparent !important;
}

.settings-tab-pane {
    padding: 45px !important;
}

.settings-tab-pane h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 8px !important;
}

.settings-tab-pane p {
    font-size: 14px !important;
    color: #9ca3af !important;
    margin-bottom: 35px !important;
}

.form-group label {
    font-weight: 500 !important;
    color: #d1d5db !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100% !important;
    max-width: 480px !important;
    padding: 12px 16px !important;
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2) !important;
    background: rgba(0,0,0,0.4) !important;
    outline: none !important;
}

#save-settings-btn {
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4) !important;
    transition: all 0.3s ease !important;
}

#save-settings-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6) !important;
}
