/* General Body & Sticky Footer Setup */
body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* THAY ĐỔI: main giờ chỉ là một flex container */
main.admin-container {
    flex-grow: 1; 
}

/* Header Styles */
.admin-header {
    background-color: #285989;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.logo:hover {
    color: #f0f0f0;
}

.header-title {
    font-size: 1.1rem;
    color: #e0e0e0;
    border-left: 2px solid #4a7aa7;
    margin-left: 1rem;
    padding-left: 1rem;
    font-weight: 300;
}

.header-right {
    display: flex;
    align-items: center;
}

.user-info {
    color: #ffc107;
    margin-right: 1.5rem;
    font-size: 0.9rem;
}

.logout-icon {
    font-size: 1.5rem;
    color: #cbe0f5;
    text-decoration: none;
    transition: color 0.2s;
}

.logout-icon:hover {
    color: white;
}

/* Footer Styles */
.admin-footer {
    background-color: #285989;
    color: #e0e0e0;
    padding: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
}
/* Styles for view.php page */
.info-block {
    margin-bottom: 1rem;
}
.info-block p.label {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d; /* a muted text color */
    font-weight: 500;
}
.info-block p.value {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.card-header {
    background-color: #f8f9fa !important; /* Light grey background for headers */
}
/* Styles for Summary Card on index.php */
.summary-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
}

.summary-card .icon {
    font-size: 2rem;
    color: #6c757d;
}

.summary-card .count {
    font-size: 3.5rem;
    font-weight: 700;
    color: #003aa7; /* Red color */
    line-height: 1;
}

.summary-card .description {
    color: #6c757d;
}

/* Make modal dialog larger for detail view */
#detailModal .modal-dialog {
    max-width: 1153px;
}
.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgb(26 125 213) !important;
}
.text-center .btn, #addVeSinhItem{
    background-color: #285989;
    color: white;
    font-weight: bold;
}
.card{
    --bs-card-border-radius: none;
}