﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px; /* Base font size */
    line-height: 1.5; /* Consistent spacing */
    color: #333;
    background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: #222;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

/* 2. Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 3. Header */
.header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid black;
}

    .header h2 {
        font-size: 24px;
    }

        .header h2 span {
            color: black;
            ;
        }

/* 4. Content */
.content {
    padding: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    table th, table td {
        padding: 10px 8px;
        border: 1px solid #ddd;
        text-align: left;
    }

    table th {
        background-color: #f0f0f0;
        font-weight: 500;
    }

/* 5. Inputs */
input[type=text],
input[type=password] {
    width: 100%;
    max-width: 420px;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffcc;
    font-size: 16px;
}

/* 6. Buttons */
button, .btn {
    padding: 8px 16px;
    margin-left: 6px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    background-color: gainsboro;
    color: black;
    transition: background 0.2s ease;
}

    button:hover, .btn:hover {
        background-color: darkgray;
    }

/* 7. Footer */
.footer {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    text-align: right;
    background: #fafafa;
}

/* 8. Spacing utilities */
.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}
/* Horizontal Menu */
.horizontal-menu {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
}

    .horizontal-menu ul {
        list-style: none; /* Remove bullets */
        margin: 0;
        padding: 0;
        display: flex; /* Make list horizontal */
        gap: 20px; /* Space between items */
    }

    .horizontal-menu li {
        display: inline-block; /* Keep items inline */
    }

    .horizontal-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        padding: 8px 12px;
        border-radius: 4px;
        display: block; /* Makes padding clickable */
        transition: background-color 0.2s ease;
    }

        .horizontal-menu a:hover {
            background-color: gainsboro;
        }

        /* Optional: active page highlighting */
        .horizontal-menu a.active {
            background-color: darkgray;
            color: black;
        }
body, input, button, select, textarea, label, .p-2 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px; /* Adjust globally */
    color: #333;
}

/* Labels */
label, strong {
    font-weight: 600;
    font-size: 14px; /* same as body or can be slightly bigger */
}

/* Buttons */
button, .btn {
    font-family: inherit; /* same as body */
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem; /* optional: rounded corners */
    text-transform: uppercase; /* optional: make buttons uppercase */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Primary button */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Secondary / outline buttons */
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover {
        background-color: #6c757d;
        color: #fff;
    }

/* Input-like boxes */
.p-2.border.rounded.bg-light {
    font-size: 14px;
    font-family: inherit;
}

/* Responsive spacing for labels and values */
.flex-grow-1 {
    min-width: 120px; /* ensures consistent box width */
}
.total-red {
    color: red !important;
    font-weight: bold;
}

.total-green {
    color: green !important;
    font-weight: bold;
}