/* Document Manager - Custom Styles */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.navbar-brand i {
    margin-right: 0.5rem;
}

/* Cards */
.card {
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Stats cards */
.card h3 {
    font-weight: 700;
    margin-bottom: 0;
}

/* Tables */
.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
}

/* List groups */
.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd6, #6a4190);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Code blocks */
code {
    background-color: #f1f3f5;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
}

pre {
    font-size: 0.85rem;
}

/* Modal */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Footer */
.footer {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .card h3 {
        font-size: 1.5rem;
    }
}
