html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.top-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    padding: 10px;
}

/* Set the style for the left panel */
.left-panel {
    float: left;
    width: 20%;
    height: 500px;
    background-color: #e6e6e6;
    padding: 10px;
}

/* Set the style for the right panel */
.right-panel {
    float: right;
    width: 80%;
    height: 500px;
    background-color: #f2f2f2;
    padding: 10px;
}

/* Set the style for the table */
table {
    width: 100%;
}

table th, table td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

    table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    table th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        color: black;
    }

thead {
    width: 100%;
}

.col-border {
    border: 1px solid black;
}

.col-ltyellow {
    background-color: lightgoldenrodyellow;
}

.col-red {
    background-color: #ED2939;
}

.col-cyan {
    background-color: cyan;
}

.col-green {
    background-color: lightgreen;
}

.col-purple {
    background-color: blueviolet;
}

.col-pink {
    background-color: hotpink;
}

.col-unset {
    background-color: white;
    text-align: center;
    line-height: 16px;
}

.white-on-heading {
    background-color: #00bfff;
    color: white;
}

.black-on-stripe {
    background-color: #99ebff;
    color: black;
}

.white-on-black {
    background-color: black;
    color: white;
}

.card-colors {
    color: white;
    background-color: #00adee;
}

.blue-tableHeader {
    text-transform: capitalize;
    padding-left: 10px;
    background-color: #00adee;
    color: white;
}

/* Banner Modal Styles */
#bannerModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#bannerModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
}

#bannerModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#bannerModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#bannerContent {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

    /* Ensure HTML content is properly contained */
    #bannerContent img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
    }

    #bannerContent table {
        width: 100%;
        margin-bottom: 1rem;
    }

    #bannerContent a {
        color: #0d6efd;
        text-decoration: none;
    }

        #bannerContent a:hover {
            text-decoration: underline;
        }

/* Counter badge styling */
#messageCounter {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 50rem;
}

/* Button transitions */
#bannerActionBtn {
    min-width: 120px;
    transition: all 0.2s ease;
}

    #bannerActionBtn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

/* Progress text */
#progressText {
    font-size: 0.875rem;
}

/* Animation for content entry */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#bannerContent > * {
    animation: slideIn 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #bannerModal .modal-dialog {
        margin: 0.5rem;
    }

    #bannerModal .modal-body {
        padding: 1rem;
    }
}