﻿:root {
    --brand-maroon: #7b1730;
    --frame-red: #b53b3b;
    --muted: #6c757d;
    --bg: #f8f1f5;
}

body {
    background: var(--bg);
    font-family: "Inter", sans-serif;
    color: #2a2a2a;
    padding-top: 70px; /* space for fixed navbar */
}

/* Navbar */
.custom-navbar {
    background: var(--brand-maroon);
    border-bottom: 3px solid var(--frame-red);
    box-shadow: 0 4px 8px rgba(0,0,0,.05);
}


.custom-label {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--brand-maroon) !important;
}

.custom-rounded-lg {
    border-radius: 50px !important;
}

.custom-navbar .nav-link {
    font-weight: 600;
    color: #ffffff !important;
    margin-left: 1rem;
    transition: color .3s ease;
    font-size: 18px;
}

    .custom-navbar .nav-link.active,
    .custom-navbar .nav-link:hover {
        color: var(--frame-red);
    }

    .custom-navbar .nav-link.disabled {
        color: #aaa !important;
        pointer-events: none;
    }

.navbar-toggler {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

/* White toggler bars */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.table thead th {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap; /* Prevents line breaks */
}

/* Card styling */
.card {
    border: 4px solid var(--frame-red);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.welcome-title {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--brand-maroon);
    margin-bottom: 1rem;
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
}


/* Buttons */
.custom-btn {
    background-color: var(--brand-maroon);
    border: none;
    color: white;
    padding: 10px 30px;
}

    .custom-btn:hover {
        background-color: #5a1024;
    }


/* Outer framed card */
.app-frame {
    max-width: 980px;
    margin: 28px auto;
    background: #fff;
    border: 4px solid var(--frame-red);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
    overflow: hidden;
}

/* Header area */
.app-header {
    padding: 40px 32px 28px;
    border-bottom: 1px solid #eee;
}

.app-body {
    padding: 26px 32px 36px;
}

.title {
    color: var(--brand-maroon);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    font-size: clamp(28px, 3.2vw, 20px);
    margin: 0;
}


/* Footer */
footer {
    border-top: 2px solid var(--frame-red);
    padding: .5rem 1rem;
}
.pagination-link {
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    margin: 3px;
}

    .pagination-link.active {
        background-color: #7b1730;
        color: white !important;
        border-color: #7b1730;
    }

.center-abs {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* prevents wrapping */
    z-index: 2;
}

/* small-screen fallback: stack label above buttons to avoid overlap */
@media (max-width: 576px) {
    .center-abs {
        position: static;
        transform: none;
        display: block;
        text-align: center;
        margin-bottom: .5rem;
    }
}
