:root {
    --m-blue: #009ef7;
    --m-light: #f5f8fa;
    --m-soft-blue: #e1f0ff;
}

body {
    background-color: var(--m-light) !important;
    font-family: 'Poppins', sans-serif;
    color: #181c32;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container-fluid.px-5 {
    flex: 1 0 auto;
}

.card-m {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    height: 100%;
}

.panel-map {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
}

#mapid {
    height: 550px;
    width: 100%;
    background: #f1f1f1;
}

.floating-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    width: 340px;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.nav-tabs-custom {
    border-bottom: none !important;
    margin-bottom: 15px;
    background: #f4f6f8;
    border-radius: 8px;
    padding: 4px;
}

.nav-tabs-custom .nav-link {
    border: none !important;
    color: #7e8299;
    font-weight: 600;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 6px !important;
    text-align: center;
}

.nav-tabs-custom .nav-link.active {
    background: #fff !important;
    color: var(--m-blue) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.select2-container {
    z-index: 1001 !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #eff2f5 !important;
    background-color: #f5f8fa !important;
    height: 40px !important;
    border-radius: 8px !important;
}

#m_body {
    font-size: 13px;
    color: #3f4254;
}

#m_title {
    font-size: 16px;
    color: #181c32;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: #f3f6f9;
    color: #009ef7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
}

.contact-label {
    font-size: 11px;
    color: #a1a5b7;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    line-height: 1;
}

.contact-value {
    font-size: 13px;
    font-weight: 600;
    color: #3f4254;
    word-break: break-all;
}

.pn-badge {
    background: #ffffff;
    border: 1px solid #eff2f5;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    min-width: 180px;
    flex: 1 1 200px;
}

.pn-badge:hover {
    background: #f1faff;
    border-color: #009ef7;
}

.pn-icon {
    width: 25px;
    color: #009ef7;
    font-size: 14px;
}

.table-modern thead th {
    background: #f8f9fa;
    border: none;
    color: #7e8299;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
}

.table-modern td {
    padding: 12px;
    vertical-align: middle;
    border-top: 1px solid #f4f6f8;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: #181c32;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer {
    background-color: #ffffff;
    border-top: 1px solid #eff2f5 !important;
}

.footer-link {
    color: #3f4254;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #009ef7;
    text-decoration: none;
}