:root {
    --bg-color: #10141d;
    --card-bg: #1e2230;
    --text-primary: #f5f6f8;
    --text-secondary: #94a3b8;
    --accent-color: #2196f3;
    --accent-hover: #4ea8de;
    --border-color: #2c3548;
    --input-bg: #242a38;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.auth-card h1 {
    margin-bottom: 10px;
    font-size: 24px;
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group input, select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.input-group input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.btn-primary {
    width: 100%;
    padding: 11px 20px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary:hover {
    background-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-switch {
    margin-top: 20px;
    font-size: 14px;
}

.auth-switch a {
    color: var(--accent-color);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.stat-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
}

.stat-card .stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.sparkline, .sparkline-bars {
    position: absolute;
    right: 24px;
    bottom: 20px;
    pointer-events: none;
    z-index: 1;
}

/* Premium Table Styling */
.table-wrapper {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

td {
    padding: 16px;
    font-size: 0.88rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Clean Badge Styling */
.badge-service {
    background-color: rgba(33, 150, 243, 0.12);
    color: #90caf9;
    border: 1px solid rgba(33, 150, 243, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-block;
}

.badge-days {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-days.green {
    background-color: rgba(76, 175, 80, 0.12);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.badge-days.orange {
    background-color: rgba(255, 152, 0, 0.12);
    color: #ffb74d;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.badge-days.red {
    background-color: rgba(244, 67, 54, 0.12);
    color: #ff5252;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Dark Sleek Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #2c3548;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a465f;
}

/* ==========================================================================
   DRUM WHEEL TIME PICKER COMPONENT
   ========================================================================== */
@keyframes twFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.time-wheel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.time-wheel-dialog {
    background: #181b20;
    border: 1px solid rgba(255, 183, 77, 0.3);
    border-radius: 14px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 183, 77, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: twFadeIn 0.2s ease-out;
}

.time-wheel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #1f232b;
}

.time-wheel-close {
    background: none;
    border: none;
    color: #888;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.time-wheel-close:hover {
    color: #fff;
}

.time-wheel-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-wheel-preview {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 14px;
    background: rgba(255, 183, 77, 0.1);
    padding: 4px 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 183, 77, 0.3);
    display: flex;
    align-items: center;
}

.tw-preview-sep {
    color: #ffb74d;
    margin: 0 4px;
    animation: twBlink 1.5s infinite;
}

@keyframes twBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.time-wheel-container {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #111317;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.time-wheel-selection-highlight {
    position: absolute;
    top: 88px;
    left: 12px;
    right: 12px;
    height: 44px;
    background: rgba(255, 183, 77, 0.14);
    border-top: 2px solid #ffb74d;
    border-bottom: 2px solid #ffb74d;
    border-radius: 6px;
    pointer-events: none;
    z-index: 4;
    box-shadow: 0 0 15px rgba(255, 183, 77, 0.18);
}

.time-wheel-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: linear-gradient(to bottom, #111317 25%, transparent 100%);
    pointer-events: none;
    z-index: 6;
}

.time-wheel-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: linear-gradient(to top, #111317 25%, transparent 100%);
    pointer-events: none;
    z-index: 6;
}

.time-wheel-column-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 105px;
    z-index: 5;
}

.time-wheel-column {
    height: 220px;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    padding: 88px 0;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.time-wheel-column::-webkit-scrollbar {
    display: none;
}

.time-wheel-item {
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #505869;
    cursor: pointer;
    user-select: none;
    scroll-snap-align: center;
    transition: all 0.15s ease;
}

.time-wheel-item:hover {
    color: #99a3b8;
}

.time-wheel-item.active {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.55rem;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 183, 77, 0.35);
}

.time-wheel-step-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #8fa0b5;
    font-size: 10px;
    width: 32px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 7;
    transition: all 0.18s;
}

.time-wheel-column-wrapper .time-wheel-step-btn:first-child {
    top: 6px;
}

.time-wheel-column-wrapper .time-wheel-step-btn:nth-of-type(2) {
    bottom: 6px;
}

.time-wheel-step-btn:hover {
    background: #ffb74d;
    color: #111;
    border-color: #ffb74d;
}

.time-wheel-separator {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffb74d;
    z-index: 5;
    user-select: none;
    padding-bottom: 2px;
}

.time-wheel-col-label {
    position: absolute;
    bottom: 26px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667085;
    pointer-events: none;
}

.time-wheel-presets-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8892a0;
    align-self: flex-start;
    margin-top: 14px;
    margin-bottom: 8px;
}

.time-wheel-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.tw-preset-btn {
    background: #1f232b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.tw-preset-btn:hover {
    background: #ffb74d;
    color: #111;
    border-color: #ffb74d;
    font-weight: 600;
}

.time-wheel-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a1d24;
}

.btn-time-wheel-cancel {
    background: #262a34;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #bbb;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-time-wheel-cancel:hover {
    background: #333846;
    color: #fff;
}

.btn-time-wheel-confirm {
    background: #ffb74d;
    border: none;
    color: #111317;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s;
}

.btn-time-wheel-confirm:hover {
    filter: brightness(1.1);
}

.custom-time-box {
    display: flex;
    align-items: center;
    background: #1e1e1e;
    border: 1px solid #ffb74d;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.custom-time-box:hover {
    background: #252830;
    border-color: #ffa726;
}

.custom-time-box input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    padding: 8px 6px !important;
    font-size: 0.95rem;
    outline: none !important;
    width: 70px;
}

.custom-time-box .time-icon-btn {
    padding: 0 8px;
    color: #ffb74d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   COFRE DE SENHAS & COMANDOS (STICKY NOTES)
   ========================================================================== */
.cofre-stats-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cofre-stat-pill {
    background: #181b20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.cofre-stat-pill:hover {
    background: #20242d;
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.cofre-stat-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: #64b5f6;
}

.cofre-stat-txt {
    font-size: 0.84rem;
    color: #94a3b8;
    font-weight: 500;
}

.cofre-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cofre-filter-tabs {
    display: flex;
    background: #181b20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

.cofre-filter-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.cofre-filter-btn:hover {
    color: #fff;
}

.cofre-filter-btn.active {
    background: #2c3548;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.cofre-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #181b20;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 12px;
    min-width: 280px;
    flex: 1;
    max-width: 480px;
}

.cofre-search-box input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 0;
    font-size: 0.88rem;
    outline: none;
    width: 100%;
}

/* Category Tags Bar */
.cofre-categories-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.cofre-categories-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cofre-categories-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.cofre-cat-pill {
    background: #1e232b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cofre-cat-pill:hover {
    background: #2b323e;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

.cofre-cat-pill.active {
    background: #2196f3;
    border-color: #2196f3;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.35);
}

.cat-pill-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 700;
}

.cofre-cat-pill.active .cat-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Category Sections & Active Banner */
.cofre-category-section {
    margin-bottom: 35px;
}

.cofre-category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 4px solid #64b5f6;
    border-radius: 8px;
    margin-bottom: 16px;
}

.cat-section-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cat-section-title-group:hover .cat-section-name {
    color: #64b5f6;
}

.cat-section-icon {
    font-size: 1.25rem;
}

.cat-section-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.15s;
}

.cat-section-badge {
    background: rgba(100, 181, 246, 0.15);
    color: #64b5f6;
    border: 1px solid rgba(100, 181, 246, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-isolate-cat {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-isolate-cat:hover {
    background: rgba(33, 150, 243, 0.15);
    border-color: #2196f3;
    color: #64b5f6;
}

.cofre-active-cat-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.25);
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.active-cat-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.active-cat-icon {
    font-size: 1.5rem;
}

.active-cat-title {
    font-size: 1.05rem;
    color: #e2e8f0;
}

.active-cat-title strong {
    color: #64b5f6;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.active-cat-badge {
    background: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 8px;
}

.btn-clear-category-pill {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-category-pill:hover {
    background: #334155;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.clickable-tag {
    cursor: pointer;
    transition: all 0.15s ease;
}

.clickable-tag:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.sticky-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    align-items: start;
}

.sticky-card {
    position: relative;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    overflow: hidden;
}

.sticky-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.sticky-card.is-pinned {
    border-color: #ffd54f !important;
    box-shadow: 0 0 15px rgba(255, 213, 79, 0.18), 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Temas de Cores dos Cards (Sticky Notes) */
.sticky-color-amarelo {
    background: #292415;
    border-color: rgba(255, 183, 77, 0.25);
}

.sticky-color-verde {
    background: #18281d;
    border-color: rgba(76, 175, 80, 0.25);
}

.sticky-color-roxo {
    background: #281b30;
    border-color: rgba(186, 104, 200, 0.25);
}

.sticky-color-azul {
    background: #162436;
    border-color: rgba(33, 150, 243, 0.25);
}

.sticky-color-grafite {
    background: #1d2128;
    border-color: rgba(255, 255, 255, 0.12);
}

.sticky-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cofre-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cofre-badge-senha {
    background: rgba(129, 199, 132, 0.15);
    color: #81c784;
    border: 1px solid rgba(129, 199, 132, 0.3);
}

.cofre-badge-comando {
    background: rgba(255, 183, 77, 0.15);
    color: #ffb74d;
    border: 1px solid rgba(255, 183, 77, 0.3);
}

.cofre-badge-nota {
    background: rgba(186, 104, 200, 0.15);
    color: #ba68c8;
    border: 1px solid rgba(186, 104, 200, 0.3);
}

.cofre-badge-cat {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sticky-card-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}

.btn-card-action {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s;
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.08);
}

.btn-pin.pinned {
    background: rgba(255, 213, 79, 0.2);
    color: #ffd54f;
}

.sticky-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.sticky-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    word-break: break-word;
}

.sticky-card-date {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
}

/* Detalhes de Senhas */
.cofre-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
}

.cofre-info-label {
    color: #94a3b8;
    font-weight: 500;
}

.cofre-info-value {
    color: #fff;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Consolas', monospace;
}

.btn-copy-mini {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.15s;
    padding: 2px 4px;
}

.btn-copy-mini:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cofre-password-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.cofre-pass-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.btn-eye-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.btn-eye-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-eye-toggle.active {
    background: #ffb74d;
    color: #111;
    border-color: #ffb74d;
}

.btn-copy-pass {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #81c784;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-copy-pass:hover {
    background: #4caf50;
    color: #fff;
}

.cofre-password-text {
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 1.05rem;
    font-weight: 600;
    word-break: break-all;
    transition: all 0.25s ease;
    padding: 4px 0;
    color: #fff;
}

.cofre-password-text.blurred {
    filter: blur(6px);
    user-select: none;
    opacity: 0.65;
}

.cofre-password-text.revealed {
    filter: none;
    user-select: text;
    opacity: 1;
    color: #a5d6a7;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

/* Detalhes de Comandos */
.cofre-command-desc {
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-style: italic;
    line-height: 1.35;
}

.cofre-code-block {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 4px;
}

.cofre-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cofre-code-lang {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffb74d;
    letter-spacing: 1px;
}

.btn-copy-code {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 183, 77, 0.15);
    border: 1px solid rgba(255, 183, 77, 0.3);
    color: #ffb74d;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-copy-code:hover {
    background: #ffb74d;
    color: #111;
}

.cofre-code-block pre {
    margin: 0;
    padding: 10px 12px;
    overflow-x: auto;
    max-height: 180px;
}

.cofre-code-block code {
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.88rem;
    color: #f1f5f9;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Detalhes de Anotações */
.cofre-body-note {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cofre-note-header-actions {
    display: flex;
    justify-content: flex-end;
}

.cofre-note-content {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.5;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.cofre-note-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
}

/* Color Picker Radios */
.cofre-color-picker {
    display: flex;
    gap: 12px;
    align-items: center;
}

.color-option {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.color-option input {
    display: none;
}

.color-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.color-option input:checked + .color-dot {
    border-color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.dot-amarelo { background: #d4a017; }
.dot-verde { background: #2e7d32; }
.dot-roxo { background: #7b1fa2; }
.dot-azul { background: #1565c0; }
.dot-grafite { background: #374151; }

/* Toast */
.cofre-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #1f2937;
    color: #fff;
    border: 1px solid #10b981;
    border-left: 5px solid #10b981;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 11000;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.cofre-toast.show {
    opacity: 1;
    transform: translateY(0);
}


