﻿/* General Body & Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    padding-top: 70px; /* Adjust for fixed navbar */
}

h2, h3, h4 {
    color: #212529;
    margin-bottom: 0.75rem;
}

/* --- Navigation Bar --- */
.navbar-inverse {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

    .navbar-inverse .navbar-brand {
        color: #212529;
        font-weight: 600;
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #495057;
    }

        .navbar-inverse .navbar-nav > li > a:hover {
            color: #0d6efd;
        }

/* --- Homepage Jumbotron --- */
.jumbotron {
    background-color: transparent;
    text-align: center;
    padding: 4rem 2rem;
}

    .jumbotron h1 {
        font-size: 3.5rem;
        font-weight: 700;
    }

    .jumbotron p {
        font-size: 1.25rem;
        color: #6c757d;
    }

/* --- Shared Button Styles --- */
.btn {
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
        transform: translateY(-2px);
    }

/* --- Service Selection Cards --- */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    }

    .card .btn-success {
        background-color: #198754;
        border-color: #198754;
    }

/* --- Dashboard & Form Tables --- */
.table {
    border-radius: 0.75rem;
    overflow: hidden; /* Ensures the border-radius is applied to the table */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .table > thead {
        background-color: #e9ecef;
    }

.table-hover > tbody > tr:hover {
    background-color: #f8f9fa;
}

/* --- Form Elements --- */
.form-control {
    border-radius: 0.375rem;
}

    .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

/* --- Status Badges --- */
.badge {
    padding: 0.5em 0.9em;
    font-size: 0.8em;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-info {
    background-color: #0dcaf0 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

/* --- Footer --- */
footer {
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    color: #6c757d;
}
