@font-face {
    font-family: 'DIN';
    src: url('../fonts_monitoring/DINBold.eot');
    src: url('../fonts_monitoring/DINBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts_monitoring/DINBold.woff2') format('woff2'),
        url('../fonts_monitoring/DINBold.woff') format('woff'),
        url('../fonts_monitoring/DINBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DIN';
    src: url('../fonts_monitoring/DIN-Light.eot');
    src: url('../fonts_monitoring/DIN-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts_monitoring/DIN-Light.woff2') format('woff2'),
        url('../fonts_monitoring/DIN-Light.woff') format('woff'),
        url('../fonts_monitoring/DIN-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'DIN';
    src: url('../fonts_monitoring/DIN-Medium.eot');
    src: url('../fonts_monitoring/DIN-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts_monitoring/DIN-Medium.woff2') format('woff2'),
        url('../fonts_monitoring/DIN-Medium.woff') format('woff'),
        url('../fonts_monitoring/DIN-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    overflow: hidden;
    font-size: 18px;
    margin: 0;
    font-family: 'DIN';
    font-weight: 500;
    color: #262626;
    letter-spacing: 0.30px;
}

.full-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.nav-bar {
    position: sticky;
    background: #fff;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0px;
    /* padding: 0px; */
    z-index: 9999;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0px;
    padding: 0px;
}

.nav-item {
    padding: 5px;
    /*padding-top: 5px;*/
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* .collapse-header {
    padding-right: 10px;
    position: sticky;
    color: #fff;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    cursor: pointer;
}

.collapse-header :hover {
    background-color: grey;
}*/

.collapse-header {
  padding-right: 2px;
  position: sticky;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  background-color: #fffae6;
}

.collapse-header:hover {
  background-color: #f3eac2;
}

.arrow-img {
  transition: transform 0.2s ease;
  float: right;
  margin-left: auto;
}

.header-logo {
    padding-left: 5px;
}

.collapse-footer {
    padding-right: 2px;
    position: sticky;
    color: #fff;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    cursor: pointer;
}

.collapse-footer :hover {
    background-color: grey;
}

.arrow-img-footer {
  transition: transform 0.2s ease;
  /*margin-right: 2px;*/
}

/* .collapse {
    position: sticky;
    color: #fff;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    cursor: pointer;
}

.collapse :hover {
    background-color: grey;
}*/

.collapse {
  cursor: pointer;
  padding: 6px;
  margin: 10px auto;
  border-radius: 6px;
  background-color: #F3F4F6; /* light gray */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease;
}

.collapse:hover {
  background-color: #E5E7EB;
}

.arrow-icon {
  display: block;
  transition: transform 0.2s ease;
}

.hide {
    display: none;
}

.divider {
    margin: 0;
    padding: 0;
    height: 5px;
    background-color: #093f61;
}

.main-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.layer-panel {
    width: auto;
    overflow: hidden;
    font-size: 1.2rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    padding: 10px 0;
    background-color: #fff;
    border-right: 1px solid #ddd;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);

    /* THIS IS THE CHANGE: Adds 10px of space between each button */
    gap: 2px;
}

.map-panel {
    flex: 2;
    overflow: hidden;
}

.container-one {
    display: flex;
    width: 100%;
    height: 70%;
    overflow: hidden;
}

.map {
    flex: 4;
    overflow: hidden;
    height: 100%;
}

.data {
    flex: 1;
    overflow-y: hidden;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.data::-webkit-scrollbar {
    display: none;
}

#data-table {
    font-size: 1.0rem;
}

.container-two {
    display: flex;
    width: 100%;
    height: 30%;
    overflow: hidden;
}

.plot {
    display: flex;
    flex-direction: column;
    flex: 4;
    border: 1px solid #000000;
    overflow: hidden;
}

.plot div {
    overflow: hidden;
}

.repo-stats {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: auto;
    background-color: #FAFFBF;
}

.repo-stats div {
    overflow: hidden;
    /*font-size: 1.0rem;*/
    font-size: 10pt;
}

.repo-stats table {
    /*font-size: 1.0rem;*/
    font-size: 10pt;
}

.repo-stats table td {
    text-align: left;
}

#date {
    /*font-size: 1rem;*/
    font-size: 10pt;
}

h1 {
    font-size: 1.75rem;
}

.info-icon {
    /* font-size: 1.5rem; */
    width: 1.5rem;
}

.td-right {
    text-align: right;
}

.footer {
    position: sticky;
    background: #000000;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0px;
    padding: 0px;
    z-index: 9999;
    bottom: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    background: #000000;
    align-items: center;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0px;
    padding: 0px 20px;
}

.social-icons {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    margin-right: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
}

.social-icons a svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.hide-footer {
    display: none;
}

.footer-links {
    background-color: #fff;
    margin-right: 40px;
}

.dygraph-title {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

#platform-info {
    width: 99.9%;
    height: 8%;
    background-color: #D3D3D3;
    border-bottom: 1px solid #000000;
    font-size: 1rem;
    font-weight: bold;
    overflow: hidden;
    vertical-align: middle;
    padding: 2px;
}

/* LAYER PANEL */
.image-btn {
    border: none;
    background: none;
    cursor: pointer;
    margin: 2px 0;
    padding: 0;
    transition: transform 0.2s ease;
}

.image-btn img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    box-shadow: 0 0 0 transparent;
    border: 2px solid transparent;
}

/* Circle for radios */
.radio img {
    /* border-radius: 50%; */
    border-radius: 6px;

}

/* Square for toggles */
.toggle img {
    border-radius: 6px;
}

.image-btn:hover img {
    transform: scale(1.1);
}

.selected img {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    border: 2px solid #007bff;
}

.horizontal-divider {
    width: 75%;
    height: 1px;
    background-color: black;
    margin: 10px 0;
}

.gray-scale {
    filter: grayscale(1);
}

.progress-container {
    /* width: 10%; */
    background-color: #ddd;
    /* border-radius: 10px; */
    overflow: hidden;
    /* margin: auto; */
}

.progress-bar {
    height: 1rem;
    width: 0%;
    background-color: #4caf50;
    transition: width 1s linear;
}

.popup-container {
  max-height: 80vh;        /* Limits overall popup height */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  font-family: 'DIN';
    src: url('../fonts_monitoring/DIN-Medium.eot');
    src: url('../fonts_monitoring/DIN-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts_monitoring/DIN-Medium.woff2') format('woff2'),
        url('../fonts_monitoring/DIN-Medium.woff') format('woff'),
        url('../fonts_monitoring/DIN-Medium.ttf') format('truetype');
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.popup-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.close-btn {
  cursor: pointer;
  color: #666;
  font-size: 1.2em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
  color: #d00;
  transform: scale(1.1);
}

.popup-content {
  overflow-y: auto;
  padding-top: 10px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  max-height: calc(80vh - 50px); /* subtract header height for scrollable content */
}

#custom-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px 15px;
    z-index: 1002;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

#custom-popup .close-btn {
    float: right;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}

#custom-popup2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    padding: 15px;
    z-index: 1003;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: auto;
    display: none;
    flex-direction: column;
}

#custom-popup2 .close-btn {
    float: right;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 3px;
}

#popup-content2 {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#info-popup {
    display: none;
    position: fixed;
    /*z-index: 1;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    flex-direction: column;
}

#info-content .close-btn {
    float: right;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    align-self: flex-end;
    border-radius: 3px;
}

#info-content {
    font-size: 1rem;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    z-index: 2000;
    max-width: 1000px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

#slider-range {
    /* position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem; */
    width: 100%;
    z-index: 1001;
    background-color: transparent;
}

#time-slider-div {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    width: auto;
    z-index: 1001;
    background-color: transparent;
}

#info-card {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: white;
    border-radius: 4px;
    z-index: 999;
}

.button {
    background-color: white;
    color: #008CBA;
    border: 2px solid #008CBA;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    margin-top: 1rem;
}

.button:hover {
    background-color: #008CBA;
    color: white;
}

/* .ui-slider .ui-slider-handle{
    width: 0.6em;
    height: 1.2em;
} */

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    background: #007fff;
}

/* .ui-widget-content {
    background: transparent;
} */

.ui-slider-handle {
    position: relative;
}

.ui-slider .ui-slider-range {
    background-color: #6495ed;
}

.tooltip {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
}

.tooltip.offset {
    top: -3rem;
}

#information {
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.overlay-image {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 3rem;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#graphs {
    position: relative;
}

#graphs2 {
    position: relative;
}


/* Statistics Overlay Styling */
.stats-overlay {
    position: absolute;
    bottom: 80px;
    left: 10px;
    z-index: 1050;
    background-color: rgba(255,255,255,0.92);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    min-width: 240px;
    pointer-events: auto;
    transition: all 0.2s ease-in-out;
}

#stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 6px;
}

#stats-header strong {
    font-size: 1.0rem;
    color: rgb(21, 65, 144);
    margin: 0;
}

#stats-icon-container svg {
    transform: rotate(-180deg);
    transition: transform 0.3s ease-in-out;
    display: block;
}

#stats-icon-container.is-collapsed svg {
    transform: rotate(0deg);
}

.stats-table {
    margin-top: 6px;
    border-collapse: collapse;
    width: 100%;
}

.stats-table td {
    font-size: 8pt;
    padding: 2px 0;
}

.stats-table td:nth-child(2) {
    padding: 2px 4px;
}

.stats-date-row {
    padding-bottom: 4px;
}

@media (min-width: 300px) and (max-width: 480px) {
    #info-content {
        font-size: 0.5rem;
    }

    .image-btn img {
        width: 15px;
        height: 15px;
    }

    .horizontal-divider {
        margin: 3px 0;
    }

    .sidebar {
        width: 30px;
    }

    h1 {
        font-size: 0.7rem;
    }

    .info-icon {
        /* font-size: 0.5rem; */
        width: 0.525rem;
    }

     .repo-stats div {
        /*font-size: 0.5rem;*/
        font-size: 10pt;
    }

    .repo-stats table {
        /*font-size: 0.5rem;*/
        font-size: 10pt;
    }


    .progress-bar {
        height: 0.4rem;
    }

    #date {
        /*font-size: 0.4rem;*/
        font-size: 10pt;
    }

    #data-table {
        font-size: 0.4rem;
    }
    
    .menumn li a {
        font-size: 0.3rem;
    }

    .layer-panel {
        font-size: 0.5rem;
    }

    body {
        overflow: auto;
    }

    .dygraph-title {
        font-size: 10px;
    }

    #platform-info {
        font-size: 10px;
    }

    .container-one {
        height: 60%;
    }

    .container-two {
        height: 40%;
    }
    .stats-overlay { min-width: 120px; padding: 6px 10px; bottom: 80px; }
    .stats-table td { font-size: 5pt; }
    #stats-header strong { font-size: 0.7rem; }

}

/* Medium screens (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    #info-content {
        font-size: 1.0rem;
    }
    .image-btn img {
        width: 20px;
        height: 20px;
    }

    .horizontal-divider {
        margin: 4px 0;
    }

    .sidebar {
        width: 40px;
    }

    h1 {
        font-size: 1rem;
    }

    .info-icon {
        /* font-size: 0.8rem; */
        width: 0.75rem;
    }

    .repo-stats div {
        /*font-size: 1.0rem;*/
        font-size: 10pt;
    }

    .repo-stats table {
        /*font-size: 1.0rem;*/
        font-size: 10pt;
    }

    .progress-bar {
        height: 0.4rem;
    }

    #date {
        /*font-size: 1rem;*/
        font-size: 10pt;
    }

    #data-table {
        font-size: 1.0rem;
    }

    .menumn li a {
        font-size: 0.4rem;
    }

    .layer-panel {
        font-size: 0.5rem;
    }

    .dygraph-title {
        font-size: 10px;
    }

    #platform-info {
        font-size: 10px;
    }

    .container-one {
        height: 60%;
    }

    .container-two {
        height: 40%;
    }
    .stats-overlay { min-width: 140px; padding: 8px 12px; bottom: 80px; }
    .stats-table td { font-size: 7pt; }
    #stats-header strong { font-size: 0.8rem; }
}

/* Larger screens (769px to 1920px) */
@media (min-width: 769px) and (max-width: 1920px) {
    #info-content {
        font-size: 1.0rem;
    }

    .image-btn img {
        width: 25px;
        height: 25px;
    }

    .horizontal-divider {
        margin: 5px 0;
    }

    .sidebar {
        width: 50px;
    }


    h1 {
        font-size: 1rem;
    }

    .info-icon {
        /* font-size: 0.8rem; */
        width: 0.75rem;
    }

    .repo-stats div {
        /*font-size: 1.0rem;*/
        font-size: 10pt;
    }

    .repo-stats table {
        /*font-size: 1.0rem;*/
        font-size: 10pt;
    }
    .progress-bar {
        height: 0.6rem;
    }

    #date {
        /*font-size: 1rem;*/
        font-size: 10pt;
    }

    #data-table {
        font-size: 1.0rem;
    }

    .menumn li a {
        font-size: 0.6rem;
    }

    .header-logo {
        width: 70%;
    }

    .footer-logo {
        width: 12.5%;
    }

    .arrow-img {
        height: 15px;
        width: 15px;
    }

    .layer-panel {
        font-size: 0.7rem;
    }

    .map {
        flex: 2.25;
    }

    .data {
        flex: 1;
    }

    .plot {
        flex: 2.25;
    }

    .repo-stats {
        flex: 1;
    }

    .container-one {
        height: 65%;
    }

    .container-two {
        height: 35%;
    }

    .dygraph-title {
        font-size: 12px;
    }

    #platform-info {
        font-size: 12px;
    }
    .stats-overlay { min-width: 150px; padding: 8px 12px; bottom: 80px; }
    .stats-table td { font-size: 9pt; }
    #stats-header strong { font-size: 0.9rem; }

}

@media (min-aspect-ratio: 5/2) {
    #graphs {
        display: none;
    }

    #graphs2 {
        display: block;
    }
}

.provider-selector-bar {
    background: linear-gradient(135deg, #1a2a3a 0%, #1e3a5f 100%);
    padding: 10px 18px;
    border-bottom: 3px solid #1a9de0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.provider-selector-bar h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.provider-selector-bar h2::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: #1a9de0;
    border-radius: 2px;
}
.provider-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #c8d8e8;
}
.provider-selector label {
    font-weight: 600;
    color: #a8c0d8;
    white-space: nowrap;
}
.provider-selector select {
    padding: 5px 26px 5px 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 5px;
    font-size: 12px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231a9de0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    transition: border-color 0.2s, background-color 0.2s;
}
.provider-selector select:hover,
.provider-selector select:focus {
    border-color: #1a9de0;
    background-color: rgba(255,255,255,0.14);
    outline: none;
}
.provider-selector select option {
    background: #1e3a5f;
    color: #ffffff;
}
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}
.btn-action {
    padding: 6px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    letter-spacing: 0.2px;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    filter: brightness(1.1);
}
.btn-action:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.btn-monitoring {
    background: linear-gradient(135deg, #27ae60, #1e9955);
    color: white;
}
.btn-monitoring:hover { background: linear-gradient(135deg, #2ebd6a, #27ae60); }
.btn-alerts {
    background: linear-gradient(135deg, #e67e22, #d4710f);
    color: white;
}
.btn-alerts:hover { background: linear-gradient(135deg, #f0892a, #e67e22); }
/* dashboard_view.php overrides */
/* Main container: flex-grow to fill remaining height so footer isn't pushed out */
.main-container {
    height: auto !important;
    flex: 1 !important;
    min-height: 0 !important;
}
/* container-one fills full map-panel height now that container-two is removed */
.container-one {
    height: 100% !important;
}
.container-two {
    display: none !important;
}

        
/* Layout for the Data Providers container */
.data {
    display: flex;
    flex-direction: column;
    height: 100%; 
    background: #ffffff;
}

/* The scrollable list area */
.data-providers-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /*max-height: 450px; /* Adjust this depending on your layout height */*/
}

/* Custom Scrollbar for a cleaner look (UPDATED FOR BETTER VISIBILITY) */
.data-providers-list::-webkit-scrollbar {
    width: 12px; /* Increased from 6px */
}
.data-providers-list::-webkit-scrollbar-track {
    background: #e6e6e6; /* Slightly darker track */
    border-radius: 6px;
}
.data-providers-list::-webkit-scrollbar-thumb {
    background: #888888; /* Darker, more visible thumb */
    border-radius: 6px;
    border: 2px solid #e6e6e6; /* Creates a nice padded border inside the track */
}
.data-providers-list::-webkit-scrollbar-thumb:hover {
    background: #555555; /* Even darker when interacting */
}

/* Individual Card Styling (UPDATED FOR 3D EFFECT) */
.provider-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    
    /* 3D Effect: Thicker grey lines on Left and Bottom */
    border-left: 4px solid #c0c0c0;
    border-bottom: 4px solid #c0c0c0;
    border-radius: 8px;
    
    padding: 10px 12px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.08); /* Shadow pulled down and left */
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

/* Card Hover Effect */
.provider-card:hover {
    /* Shifts the card up and to the right slightly to enhance the 3D 'pop' */
    transform: translateY(-2px) translateX(2px); 
    box-shadow: -4px 4px 8px rgba(0,0,0,0.12); /* Deepens the shadow */
    border-left: 4px solid #888888; /* Darkens the 3D edge on hover */
    border-bottom: 4px solid #888888;
}

/* Organization Logo inside the card */
.provider-logo {
    width: 55px;
    height: 55px;
    object-fit: contain; /* Prevents stretching */
    margin-right: 15px;
    border-radius: 4px;
    background-color: #ffffff;
    flex-shrink: 0; /* Prevents logo from shrinking if text is long */
}

/* Organization Name Text */
.provider-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.image-bottom-right-3 {
    opacity: 1;
    height: 4rem;
    float: right;
    width: auto !important;
    max-width: none !important; /* Prevents the previous 200px rule from squishing it */
    margin-right: 25px !important; /* THE FIX: Creates a 25px invisible wall to protect against the scrollbar! */
}

