﻿/* 🌐 Base Reset */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 🌐 Wrapper for sticky footer */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto; /* content grows */
}

/* 🌐 Footer */
.footer {
    flex-shrink: 0;
    background-color: #f8f9fa;
    font-size: 0.9rem;
    padding: 12px 0;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

    .footer a {
        color: #007bff;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

/* 🌐 Titles */
h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 20px 0;
    color: #2c3e50;
    text-align: center;
}

/* 🌐 Tables */
.table {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

    .table thead {
        background-color: #343a40;
        color: #fff;
        text-align: center;
    }

    .table th,
    .table td {
        padding: 14px;
        text-align: center;
        vertical-align: middle;
        border-bottom: 1px solid #e9ecef;
    }

    .table tbody tr:hover {
        background-color: #f1f3f5;
    }

    /* Action Buttons inside tables */
    .table td .btn {
        margin: 2px 3px;
        font-size: 0.8rem;
        padding: 6px 10px;
        border-radius: 6px;
    }

/* 🌐 Buttons */
.btn-primary {
    background-color: #007bff;
    border: none;
}

    .btn-primary:hover {
        background-color: #0069d9;
        transform: translateY(-1px);
    }
