/* Custom styles for the resort management system */

/* General Body and Typography */
body {
    font-family: 'Poppins', sans-serif; /* Use Inter font for a modern look */
    background-color: #f8f9fa; /* A softer, lighter background */
    color: #343a40; /* Darker text for better readability */
}

h1, h2, h3, h4, h5, h6 {
    color: #212529; /* Slightly darker headings */
    font-weight: 600; /* Make headings a bit bolder */
}

/* Card Styling */
.card {
    border: none; /* Remove default border */
    border-radius: 0.5rem; /* Slightly rounded corners */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Subtle shadow for depth */
    transition: all 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
}

.card-header {
    background-color: #ffffff; /* White header background */
    border-bottom: 1px solid #e9ecef; /* Light border */
    font-weight: 700;
    color: #495057;
}

/* Buttons */
.btn {
    border-radius: 0.3rem; /* Consistent button rounding */
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #4e555b;
}

/* Form Controls */
.form-control {
    border-radius: 0.3rem; /* Consistent input rounding */
    border: 1px solid #ced4da;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Bootstrap-like focus ring */
}

/* DataTables Styling */
.dataTables_wrapper .row:first-child {
    padding-bottom: 1rem;
}
.dataTables_wrapper .row:last-child {
    padding-top: 1rem;
}
.dataTables_filter input {
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}
.dataTables_length select {
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}

/* Specific Badges and Animations (from original custom.css) */
.card-type-badge {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

.platinum-badge {
    background-color: #6c757d;
    color: white;
}

.gold-badge {
    background-color: #ffc107;
    color: #212529;
}

.silver-badge {
    background-color: #6c757d;
    color: white;
}

.order-card {
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.entrance-display {
    font-family: 'Poppins', sans-serif;
}

.availability-count {
    font-size: 3rem;
    font-weight: bold;
}

/* Animation for low stock items */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.low-stock {
    animation: pulse 2s infinite;
    color: #dc3545;
}

/* Reservation Status Badges */
.badge-success { background-color: #28a745; }
.badge-info { background-color: #17a2b8; }
.badge-danger { background-color: #dc3545; }
.badge-secondary { background-color: #6c757d; }

/* Styles from expenses.php <style> block, moved here for organization */
#recordExpenseModal .modal-body {
    background-color: #f8f9fa;
}
#recordExpenseModal .form-section-header {
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}
#expenseItemsTable th {
    font-weight: 500;
    background-color: #e9ecef;
}
#expenseItemsTable .form-control {
    border: none;
    background-color: transparent;
    border-radius: 0;
    transition: background-color 0.2s ease-in-out;
}
#expenseItemsTable .form-control:focus {
    box-shadow: none;
    background-color: #fff;
    border-bottom: 1px solid #007bff;
}
#expenseItemsTable .item-row td {
    vertical-align: middle;
}
#expenseItemsTable .remove-item-btn {
    color: #dc3545;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0.5rem;
    cursor: pointer;
}
#expenseTotalFooter {
    font-size: 1.2rem;
    font-weight: 500;
}
.card-header h6 {
     font-weight: 700 !important;
}

/* Styles from dashboard.php <style> block, moved here for organization */
@font-face {
    font-family: 'Poppins';
    src: url('../Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #1f4037, #99f2c8);
    padding-bottom: 80px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.95);
}

.card-header {
    background: rgba(0, 123, 255, 0.1);
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

h2 {
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.card-title {
    font-size: 2rem;
    font-weight: 600;
}

.badge {
    padding: 5px 10px;
    font-size: 0.85rem;
    border-radius: 12px;
}

.btn-outline-primary, .btn-outline-success, .btn-outline-warning, .btn-outline-info {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #fff;
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    color: #fff;
}

.table th {
    background-color: #f8f9fa;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.container {
    padding-left: 120px;
    padding-right: 40px;
    margin-top: 80px;
}

.card-body canvas {
    margin-top: 10px;
}