/* 
   GIS Desilting Management System
   Custom CSS Styles
*/

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-dark {
    background-color: #343a40 !important;
}

.navbar-brand img {
    margin-right: 8px;
}

/* Card Styles with 3D effect */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
}

/* Custom styling for stat cards */
.stat-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .card-body {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
}

.stat-card .stat-icon {
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 4rem;
    opacity: 0.2;
    z-index: 0;
}

.stat-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card .display-4 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0;
}

.stat-card.primary {
    background: linear-gradient(45deg, #4e73df, #3a54a5);
    color: white;
}

.stat-card.success {
    background: linear-gradient(45deg, #1cc88a, #13855c);
    color: white;
}

.stat-card.info {
    background: linear-gradient(45deg, #36b9cc, #258391);
    color: white;
}

.stat-card.warning {
    background: linear-gradient(45deg, #f6c23e, #dda20a);
    color: white;
}

.stat-card.danger {
    background: linear-gradient(45deg, #e74a3b, #be2617);
    color: white;
}

.stat-card.purple {
    background: linear-gradient(45deg, #6f42c1, #4e2c8a);
    color: white;
}

/* Map container */
#map {
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Form styling */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #343a40;
    box-shadow: 0 0 0 0.25rem rgba(52, 58, 64, 0.25);
}

.btn-primary {
    background-color: #343a40;
    border-color: #343a40;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #212529;
    border-color: #212529;
}

.btn-success {
    background-color: #20c997;
    border-color: #20c997;
}

.btn-success:hover, .btn-success:focus {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.btn-info:hover, .btn-info:focus {
    background-color: #0a58ca;
    border-color: #0a58ca;
    color: white;
}

/* Image gallery */
.report-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.report-image-item {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.report-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.report-image-item img:hover {
    transform: scale(1.05);
}

/* Custom table styling */
.table-custom {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table-custom th {
    background-color: #343a40;
    color: white;
    padding: 12px 15px;
    font-weight: 500;
}

.table-custom tbody tr:hover {
    background-color: rgba(52, 58, 64, 0.05);
}

.table-custom td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* Dropdown styling */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
}

.dropdown-item:hover {
    background-color: rgba(52, 58, 64, 0.1);
}

/* Alert styling */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #map {
        height: 350px;
    }
    
    .report-image-item {
        width: 100px;
        height: 100px;
    }
    
    .stat-card .stat-icon {
        font-size: 2rem;
    }
} 