/* apps/web/public/css/notes-archive.css */

.notes-archive-container {
    color: var(--text-color);
}

.note-card {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.note-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.note-card .pin-btn {
    transition: transform 0.2s ease, color 0.2s ease;
}

.note-card .pin-btn:hover {
    transform: scale(1.25);
    color: #f1c40f !important;
}

.note-card .pin-btn:active {
    transform: scale(0.95);
}

.note-select-checkbox {
    accent-color: var(--main-color);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.note-select-checkbox:hover {
    transform: scale(1.1);
}

/* Scrollbar styles for the note card text container */
.note-content::-webkit-scrollbar {
    width: 4px;
}
.note-content::-webkit-scrollbar-track {
    background: transparent;
}
.note-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.note-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Modals styles */
.modal {
    opacity: 1;
    transition: opacity 0.25s ease;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

/* Buttons style overrides for notes */
.btn-danger-compact {
    transition: all 0.2s ease;
}
.btn-danger-compact:hover {
    background: rgba(255, 82, 82, 0.25) !important;
    border-color: rgba(255, 82, 82, 0.4) !important;
}

.btn-clear {
    transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-clear:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
