.content-primary { color: #121F33; }
.content-secondary { color: #505562; }
.bg-light { background-color: #FAFAFA; }
.bg-primary { background-color: #121F33; }
.bg-brand { background-color: #336ee5; }
.color-primary { color: #4171DF; }
.bg-energy-blue { background-color: #4171DF; }
.box-shadow { box-shadow: 0px 0px 20px 0px rgba(80, 80, 85, 0.15); }

.tooltip-info {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
span.tooltip {
    position: relative;
    cursor: pointer;
}
span.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 30px;
    left: -135px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    padding: 20px;
    display: none;
    color: #000;
    background: #fff;
    transition: opacity 0.1s ease-out;
    text-align: left;
    width: 300px;
    z-index: 99;
}
span.tooltip:hover::before {
    display: inline-block;
}
details[open] .open-close span.hidden,
details[open] .open-close span.hidden svg,
header details[open] .mobile-menu svg:last-child {
    display: block;
}
details[open] .open-close svg,
header details[open] .mobile-menu svg:first-child {
    display: none;
}
.blue-gradient {
    background: linear-gradient(180deg, #336EE5 30%, #fafafa 30%);
}
@media screen and (min-width: 480px) {
    .blue-gradient {
        background: linear-gradient(180deg, #336EE5 70%, #fafafa 30%);
    }
}
/* Skeleton Loader Styles */
.skeleton-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #f3f4f6; /* match card border */
    border-radius: 16px;       /* same rounded corners */
    background-color: #ffffff; /* white background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* subtle shadow */
    width: 100%;
    min-height: 500px;
    gap: 16px;
    animation: pulse 1.5s infinite ease-in-out;

    @media screen and (max-width: 1024px) {
        min-height: 250px;
    }
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background-color: #e5e7eb; /* placeholder gray */
    border-radius: 8px;
}

.skeleton-title {
    width: 70%;
    height: 18px;
    background-color: #e5e7eb;
    border-radius: 6px;
}

.skeleton-text {
    width: 90%;
    height: 14px;
    background-color: #e5e7eb;
    border-radius: 6px;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        background-color: #e5e7eb;
    }
    50% {
        background-color: #f3f4f6;
    }
    100% {
        background-color: #e5e7eb;
    }
}

@media screen and (max-width: 480px) {
    .mobile-flex-col-reverse {
        flex-direction: column-reverse !important;
    }
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  }

  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 700px;
  }

  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

.border-red-500 {
    border-width: 2px;
}
