.m-r-10px{ margin-right:10px; }
.m-b-10px{ margin-bottom:10px; }
.m-b-15px{ margin-bottom:15px; }
.m-b-20px{ margin-bottom:20px; }
.w-5-pct{ width:5%; }
.w-10-pct{ width:10%; }
.w-15-pct{ width:15%; }
.w-20-pct{ width:20%; }
.w-25-pct{ width:25%; }
.w-30-pct{ width:30%; }
.w-35-pct{ width:35%; }
.w-40-pct{ width:40%; }
.w-45-pct{ width:45%; }
.w-50-pct{ width:50%; }
.w-55-pct{ width:55%; }
.w-60-pct{ width:60%; }
.w-65-pct{ width:65%; }
.w-70-pct{ width:70%; }
.w-75-pct{ width:75%; }
.w-80-pct{ width:80%; }
.w-85-pct{ width:85%; }
.w-90-pct{ width:90%; }
.w-95-pct{ width:95%; }
.w-100-pct{ width:100%; }
.display-none{ display:none; }
.padding-bottom-2em{ padding-bottom:2em; }
.width-30-pct{ width:30%; }
.width-40-pct{ width:40%; }
.overflow-hidden{ overflow:hidden; }
.margin-right-1em{ margin-right:1em; }
.right-margin{ margin:0 .5em 0 0; }
.margin-bottom-1em { margin-bottom:1em; }
.margin-zero{ margin:0; }
.text-align-center{ text-align:center; }


/* app/assets/css/style.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    min-height: 100vh;
    background: #1a1a2e !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    z-index: 1000;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 15px;
    margin: 4px 0;
    border-radius: 8px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.sidebar .nav-link.active {
    background-color: #dc3545 !important;
    color: white !important;
    font-weight: 500;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Main Content Area */
#app {
    margin-left: 250px;
    padding: 30px;
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    color: #333;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 5px;
}

.page-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn-outline-secondary {
    border-color: #ddd;
    color: #666;
    background-color: white;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
    color: #333;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 15px;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Risk Badges */
.risk-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.risk-senior {
    background-color: #dc3545;
    color: white;
}

.risk-pregnant {
    background-color: #0dcaf0;
    color: white;
}

.risk-none {
    background-color: #6c757d;
    color: white;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.875rem;
}



/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
    }
    
    #app {
        margin-left: 0;
        padding: 20px;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
}


.modal-backdrop {
  z-index: 1040 !important;
}

.modal {
  z-index: 1050 !important;
}


.sidebar {
    width: 260px;
}

.sidebar-link {
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    transition: all 0.2s ease-in-out;
}

.sidebar-link:hover {
    background-color: rgba(220, 53, 69, 0.15);
    color: #fff;
}

.sidebar-link.active {
    box-shadow: 0 0.25rem 0.75rem rgba(220, 53, 69, 0.4);
}


.disaster-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: 0.75rem;
}

.disaster-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

.disaster-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 0.75rem;
}


.disaster-card {
  border-radius: 0.75rem;
}

.disaster-icon {
  width: 40px;
  height: 40px;
  background: rgba(220, 53, 69, 0.12);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


