@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body { 
    background-color: #f4f6f9; 
    font-family: 'Inter', sans-serif; 
    color: #333;
}

h2, h3, h5 { font-weight: 700; }

.card { 
    border-radius: 12px; 
    border: none;
    background-color: #ffffff;
}

.contextual-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contextual-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
}

.card-title { font-size: 0.95rem; }

.card-text { 
    white-space: pre-wrap; 
    font-size: 0.9rem; 
    line-height: 1.5;
    color: #4a5568;
    max-height: 180px;
    overflow-y: auto;
}

.image-preview-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adaptive-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.drag-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(26, 115, 232, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.overlay-box {
    border: 3px dashed #ffffff;
    padding: 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.custom-sidebar-list .list-group-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    padding: 10px 12px;
    transition: all 0.15s ease;
}

.custom-sidebar-list .list-group-item:hover {
    background-color: #e9ecef;
    color: #1a73e8;
}

.custom-sidebar-list .list-group-item.active {
    background-color: #1a73e8 !important;
    color: #ffffff !important;
}

#login-section { 
    height: 80vh; 
    display: flex; 
    align-items: center; 
}

.form-control, .form-select { 
    border-radius: 8px; 
    padding: 8px 12px;
    border: 1px solid #ced4da;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 0.2rem rgba(26,115,232,0.15);
}