/* Tieisanta shared styles */

.card {
    background: #ffffff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-body {
    padding: 24px;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    padding: 16px 24px;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.btn {
    border-radius: 10px;
}

.btn-primary,
.btn-success,
.btn-outline-primary {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.btn-secondary,
.btn-outline-secondary {
    background-color: #ffffff;
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #e7f1ff;
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-danger,
.btn-outline-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
}

.table thead th {
    background: #F3F5F7;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.table tbody tr:nth-child(odd) td,
.table tbody tr:nth-child(odd) th {
    background-color: #f9fafb;
}

.table-toolbar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.table-toolbar input {
    max-width: 240px;
}

html {
    scroll-behavior: auto !important;
}

body,
body.bg-light {
    background-color: #e3f2fd !important;
}

/* Navbar logo sizing */
.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 128px !important;
    width: auto !important;
    max-width: none !important;
    vertical-align: middle;
}
