/* Admin Dashboard Styles */

body {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Icons */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* Sidebar */
.sidebar-link.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-left: 3px solid #3b82f6;
}

.sidebar-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

/* Form Elements */
.tox-tinymce {
    border-radius: 0.5rem !important;
}


/* Media Management */
.btn-overlay-delete {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #ef4444;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    opacity: 0;
}

.group:hover .btn-overlay-delete {
    opacity: 1;
}

.btn-overlay-delete:hover {
    background-color: #fee2e2;
    transform: scale(1.1);
}

/* CKEditor Customization */
.ck-editor__editable {
    min-height: 350px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Login Page Special */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
