@import url('https://fonts.googleapis.com/css2?family=Signika&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Global Styles */
html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
    background-color: #f4f4f9;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Signika", sans-serif;
    font-weight: 700;
    color: #1e1e2f;
}

p, small, a, li {
    font-weight: 400;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #444;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border: none;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px;
    margin: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card h1, .card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #34495e;
}

.card p {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    text-align: left;
}

.table th, .table td {
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: #3498db;
    color: #fff;
    font-weight: 600;
}

.table tr:hover {
    background: #f1f1f1;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    color: #2980b9;
}

/* Sidebar */
.sidebar {
    background-color: #34495e;
    width: 240px;
    min-height: 100vh;
    color: #ecf0f1;
    position: fixed;
    padding: 20px;
    box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.2);
}

.sidebar .nav-item {
    margin: 20px 0;
}

.sidebar .nav-item a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.sidebar .nav-item a:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .card {
        margin: 10px 5px;
    }
}

/* Custom Classes */
.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.shadow-sm {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.rounded {
    border-radius: 8px;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
