/* ============================================
   PROYECTO MAPA - MAIN STYLESHEET
   Consolidated styles from base.html and components
   ============================================ */

/* ============================================
   FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@100..900&display=swap');

@font-face {
    font-family: 'VCR OSD Mono';
    src: url('../css/VCR_OSD_MONO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: "Catamaran", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-lightgray {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}

/* Bootstrap Success Color Override - Custom Green #2e8833 */
.btn-success {
    background-color: #2e8833 !important;
    border-color: #2e8833 !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #256f29 !important;
    border-color: #256f29 !important;
}

.btn-success:active,
.btn-success.active {
    background-color: #1e5921 !important;
    border-color: #1e5921 !important;
}

.btn-outline-success {
    color: #2e8833 !important;
    border-color: #2e8833 !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: #2e8833 !important;
    border-color: #2e8833 !important;
    color: #fff !important;
}

.text-success {
    color: #2e8833 !important;
}

.bg-success {
    background-color: #2e8833 !important;
}

.border-success {
    border-color: #2e8833 !important;
}

.alert-success {
    background-color: rgba(46, 136, 51, 0.1) !important;
    border-color: #2e8833 !important;
    color: #256f29 !important;
}

.badge.bg-success {
    background-color: #2e8833 !important;
}

.text-bg-success {
    background-color: #2e8833 !important;
    color: #fff !important;
}

/* Success opacity variants */
.bg-success.bg-opacity-10 {
    background-color: rgba(46, 136, 51, 0.1) !important;
}

.bg-success.bg-opacity-25 {
    background-color: rgba(46, 136, 51, 0.25) !important;
}

.bg-success.bg-opacity-50 {
    background-color: rgba(46, 136, 51, 0.5) !important;
}

.bg-success.bg-opacity-75 {
    background-color: rgba(46, 136, 51, 0.75) !important;
}

.section-title,
.campaign-title,
.navbar {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
}

.campaign-title {
    text-shadow: 0 0 0.24rem white;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3); */
}

.hover-underline:hover .project-title,
.hover-underline:hover .campaign-title,
.hover-underline:hover .event-title {
    color: #198754 !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* ============================================
   PROGRESS BADGE
   ============================================ */
.progress-badge {
    position: relative;
    overflow: hidden;
    color: white;
    z-index: 1;
}

.progress-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--fill);
    background-color: rgba(0, 255, 0, 0.75);
    z-index: -1;
}

/* ============================================
   NAVBAR
   ============================================ */
nav.navbar {
    background-color: #2e8833;
}

nav.navbar a.nav-link,
nav.navbar .navbar-brand {
    color: #fff !important;
    font-weight: 500;
}

nav.navbar a.nav-link:hover {
    color: #c8e6c9 !important;
}

nav.navbar a.nav-link.active {
    color: yellow !important;
}

/* ============================================
   MAP
   ============================================ */
#map {
    background: #dadeb8;
    width: 100%;
    height: 520px;
    border-radius: 8px;
    position: relative;
}

/* Layer Toggle Control */
.layer-toggle-control {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.layer-toggle {
    background: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.layer-toggle:last-child {
    border-bottom: none;
}

.layer-toggle:hover {
    background: #f8f9fa;
}

.layer-toggle.active {
    background: #2e8833;
    color: white;
}

.layer-toggle.active:hover {
    background: #256f29;
}

.layer-toggle i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.toggle-label {
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .toggle-label {
        display: none;
    }

    .layer-toggle {
        padding: 10px;
        justify-content: center;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.report-btn {
    background-color: #e53935;
    border: none;
}

.report-btn:hover {
    background-color: #b71c1c;
}

/* ============================================
   LAYOUT
   ============================================ */
.projects-events {
    margin-top: 2rem;
}

footer {
    background-color: #2e8833;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Footer Links */
.footer-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    transform: translateX(5px);
    color: #c8e6c9 !important;
}

.footer-link.text-warning:hover {
    color: #ffc107 !important;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

footer h5 {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

/* ============================================
   TICKER ANIMATION
   ============================================ */
.ticker {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    position: relative;
}

.ticker span {
    display: inline-block;
    padding-right: 1rem;
    animation: ticker-bounce 6s ease-in-out infinite alternate;
}

@keyframes ticker-bounce {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% + 100%));
    }
}

/* ============================================
   ORGANIZATION BAR (shared across cards)
   ============================================ */
.organization-bar {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}

/* ============================================
   CARD COMMON STYLES
   ============================================ */
.project-card,
.campaign-card,
.event-card {
    transition: all 0.2s ease;
    border-radius: 16px;
}

.project-card:hover,
.campaign-card:hover,
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0.8rem 1rem rgba(0, 0, 0, 0.15) !important;

    /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important; */
}

/* Image wrappers */
.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.campaign-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.event-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

/* Images */
.project-image,
.campaign-image,
.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image,
.campaign-card:hover .campaign-image,
.event-card:hover .event-image {
    transform: scale(1.1);
}

/* Overlays */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.campaign-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

/* Titles */
.project-title,
.campaign-title,
.event-title {
    font-size: 1.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* ============================================
   PROJECT CARD SPECIFIC STYLES
   ============================================ */
.project-status-active,
.project-status-activo {
    background-color: #198754 !important;
    color: white !important;
}

.project-status-completed,
.project-status-completado {
    background-color: #0d6efd !important;
    color: white !important;
}

.project-status-planned,
.project-status-planificado {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* ============================================
   CAMPAIGN CARD SPECIFIC STYLES
   ============================================ */
.campaign-progress {
    border-radius: 10px;
    background-color: #e9ecef;
}

.campaign-progress .progress-bar {
    border-radius: 10px;
    transition: width 1s ease;
}

/* ============================================
   EVENT CARD SPECIFIC STYLES
   ============================================ */
.event-info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #198754;
}

/* ============================================
   ACCORDION STYLES (for reports)
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #dc3545;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}


/* ============================================
   PAGINATION STYLES
   ============================================ */
.pagination-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination-modern {
    gap: 0.5rem;
}

.pagination-modern .page-item {
    margin: 0;
}

.pagination-modern .page-link {
    border-radius: 8px;
    font-weight: 600;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #a0a0a0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.pagination-modern .page-link:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pagination-modern .page-item.active .page-link {
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.pagination-modern .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.pagination-info .badge {
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Success (Green) Theme - Default */
.pagination-success {
    color: #2e8833;
    background-color: white;
    border-color: #2e8833;
}

.pagination-success:hover {
    background-color: #2e8833;
    color: white;
    border-color: #2e8833;
}

.pagination-success-active {
    background-color: #2e8833;
    border-color: #2e8833;
    color: white;
}

/* Danger (Red) Theme */
.pagination-danger {
    color: #dc3545;
    background-color: white;
    border-color: #dc3545;
}

.pagination-danger:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.pagination-danger-active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Primary (Blue) Theme */
.pagination-primary {
    color: #0d6efd;
    background-color: white;
    border-color: #0d6efd;
}

.pagination-primary:hover {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.pagination-primary-active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Info (Cyan) Theme */
.pagination-info {
    /* color: #0dcaf0;
    background-color: white;
    border-color: #0dcaf0; */
}

.pagination-info:hover {
    /* background-color: #0dcaf0;
    color: white;
    border-color: #0dcaf0; */
}

.pagination-info-active {
    /* background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: white; */
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .project-image-wrapper {
        height: 200px;
    }

    .campaign-image-wrapper {
        height: 220px;
    }

    .event-image-wrapper {
        height: 200px;
    }

    .project-title,
    .campaign-title,
    .event-title {
        font-size: 1.25rem;
    }

    /* Pagination responsive */
    .pagination-modern .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .pagination-modern {
        gap: 0.25rem;
    }

    .pagination-info .badge {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem !important;
    }
}

/* ============================================
   FOOTER ANIMATIONS
   ============================================ */
/* Gradient animation for footer button */
@keyframes gradientShift {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(108, 117, 125, 0.3),
                    0 0 20px rgba(108, 117, 125, 0.2),
                    0 0 30px rgba(108, 117, 125, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(108, 117, 125, 0.5),
                    0 0 30px rgba(108, 117, 125, 0.3),
                    0 0 40px rgba(108, 117, 125, 0.2);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

footer .btn-dark {
    position: relative;
    background: linear-gradient(
        45deg,
        #212529,
        #495057,
        #6c757d,
        #495057,
        #212529
    );
    background-size: 300% 300%;
    background-position: 100% 50%;
    border: none;
    /* transition: all 0.4s ease;
    animation: fadeInScale 0.6s ease-out; */
}

footer .btn-dark.footer-btn-visible {
    animation: gradientShift 3s ease forwards,
               pulseGlow 2s ease-in-out forwards;
}

footer .btn-dark:hover {
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4),
                0 0 40px rgba(108, 117, 125, 0.3);
}

footer .btn-dark::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #6c757d,
        #495057,
        #212529,
        #495057,
        #6c757d
    );
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

footer .btn-dark:hover::before {
    opacity: 1;
    animation: gradientShift 2s ease infinite;
}

/* ============================================
   MAP POPUP STYLES
   ============================================ */
.mapboxgl-popup-content {
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.map-popup-card {
    min-width: 280px;
    max-width: 320px;
    border-width: 3px;
    border-style: solid;
    border-radius: 16px;
    overflow: hidden;
}

.map-popup-card.border-danger {
    border-color: #dc3545;
}

.map-popup-card.border-success {
    border-color: #2e8833;
}

.map-popup-card.border-primary {
    border-color: #0d6efd;
}

.map-popup-header {
    border-bottom: 1px solid #dee2e6;
}

.map-popup-header .badge {
    /* font-size: 0.75rem; */
    /* padding: 0.4rem 0.7rem; */
    /* font-weight: 600; */
    /* letter-spacing: 0.5px; */
}

.map-popup-body {
    padding: 1rem;
    background: white;
}

.map-popup-title {
    /* color: #2e8833; */
    /* font-size: 1.1rem; */
    /* font-weight: 700; */
    /* margin-bottom: 0.5rem; */
    /* line-height: 1.3; */
}

.map-popup-description {
    /* color: #6c757d; */
    /* font-size: 0.9rem; */
    /* margin-bottom: 0.75rem; */
    /* line-height: 1.5; */
}

.map-popup-footer {
    /* padding: 0.75rem 1rem; */
    /* background: #f8f9fa; */
    border-top: 1px solid #dee2e6;
}

.map-popup-footer .btn {
    font-size: 0.85rem;
    /* font-weight: 600; */
    /* padding: 0.5rem 1rem; */
    /* border-radius: 8px; */
    transition: all 0.2s ease;
}

.map-popup-footer .btn:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3); */
}

.mapboxgl-popup-close-button {
    font-size: 22px;
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    background: white;
    border-radius: 0 16px 0 8px;
    transition: all 0.2s ease;
}

.mapboxgl-popup-close-button:hover {
    background-color: #2e8833;
    color: white;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
    border-bottom-color: white;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
    border-top-color: white;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
    border-right-color: white;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
    border-left-color: white;
}

/* Map controls positioning */
.mapboxgl-ctrl-group {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mapboxgl-ctrl-group button {
    width: 35px;
    height: 35px;
}

.mapboxgl-ctrl-group button:hover {
    background-color: #f0f0f0;
}

/* ============================================
   MAPBOX LOCATION WIDGET STYLES
   (for dashboard forms)
   ============================================ */
.mapbox-location-widget {
    margin: 1rem 0;
}

.map-container {
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Geocoder Search Styling */
.mapboxgl-ctrl-geocoder {
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.mapboxgl-ctrl-geocoder--input {
    height: 45px;
    padding: 8px 45px;
    font-size: 15px;
    border-radius: 8px;
}

.mapboxgl-ctrl-geocoder--icon-search {
    top: 12px;
    left: 12px;
}

.mapboxgl-ctrl-geocoder--button {
    top: 12px;
    right: 12px;
}

/* Geocoder Results */
.mapboxgl-ctrl-geocoder--suggestion {
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.mapboxgl-ctrl-geocoder--suggestion:hover {
    background-color: #f0f0f0;
}

.mapboxgl-ctrl-geocoder--suggestion-title {
    font-weight: 600;
    color: #2e8833;
}

.mapboxgl-ctrl-geocoder--suggestion-address {
    color: #666;
    font-size: 13px;
}

/* Map Controls Position */
.mapboxgl-ctrl-top-right {
    top: 10px;
    right: 10px;
}

/* Marker Customization */
.mapboxgl-marker {
    cursor: move;
}

.mapboxgl-marker:hover {
    opacity: 0.8;
}

/* Coordinates Display */
#id_location_coords,
[id$="_coords"] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

#id_location_coords i,
[id$="_coords"] i {
    color: #1976d2;
}

/* Loading State */
.mapbox-location-widget.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2e8833;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Map Attribution */
.mapboxgl-ctrl-attrib {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 2px 8px;
}

.mapboxgl-ctrl-attrib a {
    color: #2e8833;
}

/* Responsive - Location Widget */
@media (max-width: 768px) {
    .map-container {
        margin-bottom: 1rem;
    }

    .mapboxgl-ctrl-geocoder {
        font-size: 14px;
    }

    .mapboxgl-ctrl-geocoder--input {
        height: 40px;
        font-size: 14px;
    }

    #id_location_map,
    [id$="_map"] {
        height: 300px !important;
    }
}

/* ============================================
   DETAIL PAGES STYLES
   ============================================ */

/* Image Containers */
.report-image-container,
.campaign-image-container,
.project-image-container,
.event-image-container {
    overflow: hidden;
    border-radius: 16px;
}

.report-image-container img,
.campaign-image-container img,
.project-image-container img,
.event-image-container img {
    transition: transform 0.4s ease;
}

.report-image-container:hover img,
.campaign-image-container:hover img,
.project-image-container:hover img,
.event-image-container:hover img {
    transform: scale(1.03);
}

/* Icon Circles */
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Status Badge Colors - Reports */
.status-badge-activo,
.status-badge-active {
    background-color: #dc3545 !important;
    color: white !important;
}

.status-badge-en_proceso,
.status-badge-in_progress {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.status-badge-resuelto,
.status-badge-resolved {
    background-color: #198754 !important;
    color: white !important;
}

/* Severity Badge Colors */
.severity-badge-alta,
.severity-badge-high {
    background-color: #dc3545 !important;
    color: white !important;
}

.severity-badge-media,
.severity-badge-medium {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.severity-badge-baja,
.severity-badge-low {
    background-color: #17a2b8 !important;
    color: white !important;
}

/* Stat Cards & Impact Cards */
.stat-card,
.impact-card {
    transition: transform 0.3s ease;
}

.stat-card:hover,
.impact-card:hover {
    transform: translateY(-4px);
}

/* Content Styling - Reports */
.report-content,
.actions-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments for detail pages */
@media (max-width: 991.98px) {
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* ============================================
   ORGANIZATION PANEL STYLES
   ============================================ */

/* Organization Cards */
.organization-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-color: #dee2e6 !important;
}

.organization-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.organization-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.organization-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

.organization-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.organization-card:hover .organization-arrow {
    transform: translateX(5px);
}

.organization-stats {
    font-size: 0.875rem;
}

.organization-stats .badge {
    font-weight: 600;
    padding: 0.375rem 0.625rem;
}

/* Organization Management Page */
.organization-icon-large {
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .organization-icon {
        width: 40px;
        height: 40px;
    }

    .organization-icon i {
        font-size: 1.5rem !important;
    }

    .organization-stats {
        font-size: 0.75rem;
    }

    .organization-stats .badge {
        padding: 0.25rem 0.5rem;
    }
}
