

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    color: #0d6efd;
}

p {
    color: #6c757d;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: #1e3a8a !important;
}

.navbar-nav .nav-link {
    color: #2d3748 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #1e3a8a !important;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: #1e3a8a;
    font-weight: 600;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-2px);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-header {
    background: white;
    color: #0f1419;
    border: none;
    font-weight: 600;
}

.card-body {
    background: white;
}

.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: white;
    color: #1a202c;
    border: none;
    font-weight: 600;
}

.table tbody tr:hover {
    background-color: #f1f5f9;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: white;
    color: #0f5132;
}

.alert-danger {
    background: white;
    color: #842029;
}

.footer {
    background: white;
    color: #2d3748;
    padding: 20px 0;
    margin-top: 50px;
}

.dashboard-card {
    background: white;
    color: #1a202c;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.dashboard-card .icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fbbf24;
}

.dashboard-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-card .label {
    font-size: 1rem;
    opacity: 0.9;
    color: #6c757d;
}

.book-cover {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.status-available {
    color: #10b981;
    font-weight: 600;
}

.status-borrowed {
    color: #ef4444;
    font-weight: 600;
}

.status-returned {
    color: #6b7280;
    font-weight: 600;
}

@media (max-width: 768px) {
    .dashboard-card {
        margin-bottom: 20px;
    }
    
    .card {
        margin-bottom: 20px;
    }
}
