﻿/* ===============================
   GLOBAL STYLE
=================================*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(to right, #eef2f7, #f8f9fa);
    color: #222;
}

/* ===============================
   NAVBAR
=================================*/
.navbar {
    background: linear-gradient(90deg, #0d6efd, #084298) !important;
    padding: 14px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: white !important;
}

.nav-link {
    color: white !important;
    margin-left: 12px;
    font-size: 17px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: #ffd43b !important;
        transform: translateY(-2px);
    }

/* ===============================
   MAIN CONTAINER
=================================*/
.container.py-4 {
    background: white;
    margin-top: 35px;
    padding: 45px;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    animation: fadeIn 0.6s ease-in-out;
}

/* ===============================
   TITLES
=================================*/
h1 {
    text-align: center;
    font-size: 54px;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

h2 {
    font-size: 30px;
    color: #084298;
    margin-bottom: 15px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    color: #0d6efd;
    margin-bottom: 10px;
    border-right: 5px solid #0d6efd;
    padding-right: 12px;
}

/* ===============================
   TEXT
=================================*/
p {
    font-size: 19px;
    line-height: 1.9;
    color: #444;
}

ul {
    padding-right: 20px;
}

    ul li {
        font-size: 18px;
        margin-bottom: 10px;
    }

/* ===============================
   CARDS / BOXES
=================================*/
.info-card,
.card,
.table {
    background: #fff;
    border: none;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 25px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
    transition: 0.3s;
}

    .info-card:hover,
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 25px rgba(0,0,0,0.12);
    }

/* ===============================
   TABLE
=================================*/
.table {
    overflow: hidden;
}

    .table thead {
        background: #0d6efd;
        color: white;
    }

    .table th,
    .table td {
        padding: 15px;
        text-align: center;
        vertical-align: middle;
    }

/* ===============================
   BUTTONS
=================================*/
.btn {
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: #0d6efd;
    border: none;
}

    .btn-primary:hover {
        background: #084298;
        transform: scale(1.05);
    }

.btn-danger:hover,
.btn-warning:hover,
.btn-success:hover {
    transform: scale(1.05);
}

/* ===============================
   FORMS
=================================*/
input,
select,
textarea {
    border-radius: 10px !important;
    padding: 10px !important;
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}

    input:focus,
    select:focus,
    textarea:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 8px rgba(13,110,253,0.25) !important;
    }

/* ===============================
   FOOTER
=================================*/
footer {
    background: #212529;
    color: white;
    text-align: center;
    padding: 18px;
    margin-top: 35px;
    font-size: 15px;
}

/* ===============================
   LOGO
=================================*/
.home-logo {
    width: 180px;
    height: auto;
}

/* ===============================
   ANIMATION
=================================*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.site-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}
.admin-page, .user-page {
    text-align: center;
    padding: 50px;
}

.admin-box a {
    margin: 10px;
}

.admin-page h1 {
    color: #dc3545;
}
