@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Modern Dark Indigo */
    --bg-main: #0f172a;
    --bg-sidebar: rgba(30, 41, 59, 0.7);
    --bg-card: rgba(30, 41, 59, 0.5);
    --accent: #10b981;
    /* Emerald */
    --accent-hover: #059669;
    --primary: #6366f1;
    /* Indigo */
    --primary-hover: #4f46e5;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --header-height: 64px;
    --sidebar-width: 280px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* HEADER */
.header {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #6366f1, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-name-input {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-new-map {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-new-map:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: var(--primary);
}

.map-name-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Phase 3.5 — Thanh thông tin tòa nhà + banner 403 */
.editor-building-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 8px 24px;
    background: rgba(30, 41, 59, 0.95);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: #94a3b8;
}

.editor-building-bar__main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.editor-building-bar__name {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
}

.editor-building-bar__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.editor-building-bar__meta strong {
    color: #e2e8f0;
}

.editor-meta-sep {
    opacity: 0.45;
}

.editor-publish-hint {
    color: #64748b;
    font-size: 12px;
}

.btn-version-history {
    margin-left: 4px;
    padding: 2px 10px;
    font-size: 11px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(30, 41, 59, 0.85);
    color: #e2e8f0;
    cursor: pointer;
}
.btn-version-history:hover {
    border-color: #38bdf8;
    color: #7dd3fc;
}

.version-history-panel {
    margin: 0 16px 8px;
    padding: 12px 14px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    color: #e2e8f0;
    max-height: 280px;
    overflow: auto;
}
.version-history-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.version-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.version-history-table th,
.version-history-table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 6px 4px;
    text-align: left;
    vertical-align: top;
}
.version-row-current {
    background: rgba(16, 185, 129, 0.12);
}

.editor-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.editor-status-draft {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.editor-status-published {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.editor-access-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(127, 29, 29, 0.92);
    border-bottom: 1px solid rgba(248, 113, 113, 0.4);
    color: #fecaca;
    font-size: 14px;
}

.editor-access-banner__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.editor-access-banner__text strong {
    color: #fff;
}

.editor-access-banner__btn {
    flex-shrink: 0;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #991b1b;
    font-weight: 600;
    cursor: pointer;
}

.editor-access-banner__btn:hover {
    background: #fee2e2;
}

/* Phase 8 — khóa tầng: nền sáng + chữ tối (tránh trùng với banner đỏ access) */
.editor-floor-lock-banner {
    background: #fffbeb;
    border-bottom: 2px solid #d97706;
    color: #78350f;
}

.editor-floor-lock-banner .editor-access-banner__text strong {
    color: #92400e;
    font-size: 15px;
}

.editor-floor-lock-banner .editor-access-banner__text span {
    color: #78350f;
}

.editor-floor-lock-banner .editor-access-banner__btn {
    background: #b45309;
    color: #fff;
    border: 1px solid #92400e;
}

.editor-floor-lock-banner .editor-access-banner__btn:hover {
    background: #92400e;
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BUTTONS */
button {
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.header-right button:not(.btn-primary) {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.header-right button:not(.btn-primary):hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-lock {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
    border: 1px solid rgba(103, 232, 249, 0.4);
}

.btn-lock:hover {
    background: rgba(6, 182, 212, 0.26);
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    flex: 1;
    height: calc(100vh - var(--header-height) - 44px);
    overflow: hidden;
    padding: 16px;
    gap: 16px;
}

/* TOOLBAR & PANELS */
aside {
    background: var(--bg-sidebar);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Sophisticated border */
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.toolbar {
    width: 240px;
    padding: 16px;
    gap: 20px;
    overflow-y: auto;
}

.tool-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-section h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.tool-btn {
    width: 100%;
    justify-content: flex-start;
    background: transparent;
    color: var(--text-dim);
    padding: 10px 12px;
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.tool-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tool-kbd {
    margin-left: auto;
    font-size: 0.65rem;
    opacity: 0.65;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    font-family: Consolas, monospace;
}

.tool-btn.active .tool-kbd {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
}

/* Layers UI (Phase 1b) */
.layers-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.layer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.layer-row.is-active {
    border-color: rgba(99, 102, 241, 0.65);
    background: rgba(99, 102, 241, 0.18);
}

.layer-row__name {
    flex: 1;
    font-size: 12px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layer-row__count {
    font-size: 11px;
    color: var(--text-dim);
    min-width: 26px;
    text-align: right;
}

.layer-row__btn {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.layer-row__btn:hover {
    background: rgba(99, 102, 241, 0.35);
}

.layer-row__btn--danger:hover {
    background: rgba(239, 68, 68, 0.45);
}

.layer-row__btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.layer-locked:checked {
    accent-color: #e67e22;
}

/* CANVAS */
.canvas-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.canvas-wrapper {
    flex: 1;
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

#mapCanvas {
    display: block;
    outline: none;
}

.status-bar {
    height: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 24px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

#autosaveStatus {
    margin-left: auto;
    white-space: nowrap;
    font-family: Consolas, monospace;
    opacity: 0.85;
}

.command-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 360px;
    padding-right: 12px;
    border-right: 1px solid var(--border);
    margin-right: 4px;
}

.command-bar-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    white-space: nowrap;
    font-weight: 600;
}

.command-bar-field {
    flex: 1;
    min-width: 100px;
    height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-main);
    font-size: 0.75rem;
    font-family: ui-monospace, monospace;
    text-transform: uppercase;
}

.command-bar-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.command-bar-hint {
    font-size: 0.65rem;
    color: #6ee7b7;
    white-space: nowrap;
    font-family: ui-monospace, monospace;
    min-width: 48px;
}

.dynamic-input-wrap {
    display: none;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 420px;
    padding: 0 8px;
    border-right: 1px solid var(--border);
    margin-right: 4px;
}

.dynamic-input-wrap.is-active {
    display: flex;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.45);
    padding: 2px 8px;
    margin: 0 6px 0 0;
}

.dynamic-input-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.dynamic-input-wrap.is-active .dynamic-input-label {
    color: #93c5fd;
    font-weight: 600;
}

.dynamic-input-field {
    flex: 1;
    min-width: 120px;
    height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-main);
    font-size: 0.75rem;
    font-family: ui-monospace, monospace;
}

.dynamic-input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.dynamic-input-hint {
    font-size: 0.65rem;
    color: #94a3b8;
    white-space: nowrap;
    font-family: ui-monospace, monospace;
}

.dynamic-input-wrap.is-active .dynamic-input-hint {
    color: #cbd5e1;
}

/* PROPERTIES PANEL */
.properties-panel {
    width: var(--sidebar-width);
    overflow-y: auto;
    padding: 16px;
    gap: 24px;
}

.panel-section h3 {
    font-size: 0.875rem;
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* PROP GROUPS */
.prop-group {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.prop-group-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.prop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.prop-row label {
    color: var(--text-dim);
}

.prop-row input,
.prop-row select {
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    width: 120px;
}

.prop-row input[type="checkbox"] {
    width: auto;
    min-width: 16px;
    padding: 0;
}

.prop-row input:disabled,
.prop-row select:disabled,
.prop-row input[readonly] {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.12);
    cursor: not-allowed;
    opacity: 1;
}

/* OBJECT LIST */
.object-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.obj-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.obj-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.obj-item.selected {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    margin-right: 12px;
}

/* OVERLAY LOADING */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    display: none;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    margin-bottom: 16px;
}

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

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

.secure-lock-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.secure-lock-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.secure-lock-modal {
    width: min(440px, 92vw);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    padding: 24px;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 200ms ease, opacity 200ms ease;
}

.secure-lock-overlay.active .secure-lock-modal {
    transform: scale(1);
    opacity: 1;
}

.secure-lock-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(103, 232, 249, 0.35);
}

.secure-lock-subtitle {
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.secure-lock-label {
    display: block;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 0.84rem;
}

.secure-lock-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #f8fafc;
    padding: 10px 12px;
    border-radius: 10px;
    outline: none;
}

.secure-lock-input:focus {
    border-color: rgba(103, 232, 249, 0.7);
    box-shadow: 0 0 0 2px rgba(103, 232, 249, 0.15);
}

.secure-lock-error {
    min-height: 18px;
    margin-top: 8px;
    color: #fca5a5;
    font-size: 0.8rem;
}

.secure-lock-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.btn-ghost-danger {
    background: rgba(127, 29, 29, 0.28);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.42);
}

.btn-ghost-danger:hover {
    background: rgba(127, 29, 29, 0.4);
}

body.editor-locked .app-container {
    filter: blur(1.5px) saturate(0.94);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    :root {
        --sidebar-width: 240px;
    }

    .toolbar {
        width: 220px;
    }
}

@media (max-width: 900px) {
    .toolbar-label {
        display: none;
    }

    .toolbar {
        width: 70px;
    }

    .header h1 {
        display: none;
    }

    .secure-lock-modal {
        width: 100vw;
        height: 100vh;
        max-width: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ==========================================
   SECURE LOCK MODE (GLASSMORPHISM)
   ========================================== */
.lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    visibility: visible;
}

.lock-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lock-modal {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: modalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.lock-overlay.hidden .lock-modal {
    transform: scale(0.9) translateY(20px);
}

.lock-header .avatar-circle {
    width: 80px;
    height: 80px;
    background: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.lock-header .avatar-circle i {
    width: 40px;
    height: 40px;
    color: white;
}

.lock-header h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
    margin-top: 0;
}

.lock-header p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.lock-body .input-group {
    position: relative;
    margin-bottom: 16px;
}

.lock-body .input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.lock-body input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 14px 14px 48px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.lock-body input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.btn-unlock {
    width: 100%;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-unlock:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-unlock i {
    width: 18px;
    height: 18px;
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: left;
}

.btn-text {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 24px;
    text-decoration: underline;
}

.btn-text:hover {
    color: white;
}

.btn-lock {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-lock:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #94a3b8 !important;
}