﻿/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
}

/* ===== GLOBAL CONTAINER (used by header + footer + content) ===== */
.container1 {
    margin: 0 auto;
    padding: 0 20px;
}
.container {
    margin: 0 auto;
    padding: 0 0px;
}
.containerPage {
    display: flex;
    height: 100vh;
}
/* ========================= */
/* ===== TOP MENU ===== */
/* ========================= */

.menu-bar {
    width: 100%;
    background-color: #2c3e50;
    border-radius: 10px 10px 0px 0px;
}

.top-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

    .top-menu li {
        margin: 0;
    }

        .top-menu li.right {
            margin-left: auto; /* Push About to the right */
        }

    .top-menu a {
        display: block;
        padding: 14px 18px;
        text-decoration: none;
        color: white;
        transition: 0.3s;
    }

        .top-menu a:hover,
        .top-menu a.active {
            background-color: #34495e;
        }

/* ========================= */
/* ===== MAIN WRAPPER ===== */
/* ========================= */

.main-wrapper {
    min-height: calc(100vh - 100px);
    padding: 0px 0;
}

/* ========================= */
/* ===== LOGIN CARD ===== */
/* ========================= */

.login-card {
    max-width: 450px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

    .login-card h2 {
        margin-bottom: 20px;
        color: #2c3e50;
    }

/* ========================= */
/* ===== FOOTER ===== */
/* ========================= */

.site-footer {
    width: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    border-radius: 0px 0px 10px 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

    .footer-links a {
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

        .footer-links a:hover {
            color: #3498db;
        }



/**/

/* CUSTOM TABLE */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .custom-table thead {
        background-color: #2c3e50;
        color: white;
    }

    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
        text-align: left;
    }

    .custom-table th {
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    /* Even rows */
    .custom-table tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    /* Hover effect */
    .custom-table tbody tr:hover {
        background-color: #d6eaf8;
        transition: 0.3s;
        cursor: pointer;
    }

/* PAGINATION */
/* Center the entire pagination container */
.dataTables_paginate {
    display: flex !important; /* Use flex */
    justify-content: center !important; /* Center horizontally */
    align-items: center; /* Align vertically */
    margin-top: 20px;
    min-height: 50px; /* Reserve space even for 1-page tables */
}

    /* Style Prev / Next buttons */
    .dataTables_paginate .paginate_button {
        min-width: 100px;
        padding: 8px 15px !important;
        margin: 0 5px;
        border-radius: 6px !important;
        border: 1px solid #3498db !important;
        background-color: #3498db !important;
        color: white !important;
        font-weight: bold;
        cursor: pointer;
    }

        .dataTables_paginate .paginate_button:hover {
            background-color: #2980b9 !important;
            border-color: #2980b9 !important;
        }

        .dataTables_paginate .paginate_button.disabled {
            background-color: #cccccc !important;
            border-color: #cccccc !important;
            color: #666 !important;
            cursor: default;
        }

/* Page X of Y label */
#pageLabel {
    margin: 0 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    min-width: 80px;
}
/* BUTTON */
.btn-custom {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-custom:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }
/* SEARCH BOX */
.search-box {
    width: 300px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
}

    .search-box:focus {
        border-color: #3498db;
        box-shadow: 0 0 5px rgba(52,152,219,0.5);
    }


/* SIDEBAR */
.sidebar {
    width: 220px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    overflow-y: auto;
}

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar li {
        cursor: pointer !important;
        border-radius: 5px;
        margin-bottom: 5px;
    }

        .sidebar li a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 10px;
        }

            .sidebar li a:hover {
                background-color: #34495e;
            }

.content {
    flex: 1;
    padding: 20px;
    overflow: auto;
    background-color: #f4f6f9;
}
/**/