@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    background-color: #f0f5ff; /* Very light blue, almost white */
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12pt;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-custom {
    background-color: #f8f1e9; /* Off-white */
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    border: 1px solid #ddd;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-custom:hover {
    background-color: #e6e0d8;
}

.btn-icon {
    font-size: 1.2rem;
}

/* Specific button icon overrides */
.btn-delete::before, .btn-edit::before, .btn-schedule::before {
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem; /* Match .btn-icon size */
    line-height: 1; /* Ensure consistent vertical alignment */
}

.btn-delete::before {
    content: "\f2ed"; /* Font Awesome trashcan */
}

.btn-add::before {
    content: "\f067"; /* Font Awesome plus */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.btn-edit::before {
    content: "\f013"; /* Font Awesome gear */
}

.btn-schedule::before {
    content: "\f073"; /* Font Awesome calendar */
}

/* Ensure tables and forms look clean */
.table th, .table td {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12pt;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

/* Grid layout for dashboard */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.grid-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.grid-item a {
    text-decoration: none;
}

.grid-item .btn-custom {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* Action buttons in table */
.actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
}

.actions .btn-custom {
    width: 50px; /* Fixed width for all action buttons */
    height: 50px; /* Fixed height for square buttons */
    padding: 0; /* Remove padding to center icon */
    display: flex;
    align-items: center;
    justify-content: center; /* Center icon horizontally and vertically */
}

.actions .btn-custom .btn-icon {
    margin: 0; /* Remove any margins to ensure centering */
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}