body {
    background: linear-gradient(to bottom, #F7F7F7, #a1c9f2);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 90vh; /* extend background to full viewport height */
    background-attachment: fixed; /* prevent background from scrolling */
}

h1 {
    text-align: center;
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 5px;
}

h2 {
    text-align: center;
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.byline {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-top: 0.15rem;
    margin-bottom: 0.3rem;
}

.text-box {
    width: 700px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-box ul {
    list-style: disc;
    padding-left: 20px;
}

.iframe-container {
    width: 840px;
    margin: 40px auto;
    background-color: #F7F7F7; /* light gray */
    padding: 10px;
    border: 2px solid #CCCCCC;
    border-radius: 10px;
}

.iframe-container iframe {
    width: 100%;
    height: 240px;
    border-radius: 10px;
}

.cache-policy-container {
    width: 840px;
    margin: 40px auto;
    background-color: #F7F7F7; /* light gray */
    padding: 10px;
    border: 2px solid #CCCCCC;
    border-radius: 10px;
}

.cache-policy-unsupported {
    display: none;
}

.code {
    font-family: monospace;
    background-color: #f7f7f7; /* light gray background */
    font-weight: bold;
    padding: 2px 4px; /* add some padding */
    border: 1px solid #ddd; /* faint box around the text */
    border-radius: 3px; /* rounded corners */
  }

table {
    border-collapse: collapse;
    width: 80%; /* adjusted width to center the table */
    background-color: #ffffff;
    margin: 0 auto; /* added to center the table */
}

th {
    font-weight: bold;
    border-bottom: 1px solid #000000;
    padding: 8px;
    text-align: left;
}

td {
    border-bottom: 1px solid #dddddd;
    padding: 8px;
}

.swatch-box {
    white-space: nowrap;
    vertical-align: bottom;
    text-align: center;
}
.swatch {
    width: 30px;
    height: 30px;
    border: 1px solid darkgray;
    border-radius: 5px;
    display: inline-block;
    margin: auto;
    padding: 10px 10px;
}
.active-swatch {
    border: 2px solid black;
    width: 40px;
    height: 40px;
    background-image: url('/edge-cached-1-minute/checkmark.svg');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: bottom center;    
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 18px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #0f0;
    animation: empty 50s linear forwards;
    animation-play-state: paused;
    /* green */
    z-index: -1;
}

.progress-animated {
    animation-play-state: running;
}

.progress:hover {
    opacity: 0.5;
}

.label {
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 0 5px;
}

.no-reload {
    opacity: 0.4;
    background-color: black;
}

@keyframes empty {
    0% {
        /* width: 100%; */
        background-color: #00ee0060;
        /* green */
    }

    100% {
        width: 0%;
        background-color: #dda500;
        /* orange */
    }
}

.online-status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffff0090; /* yellow */
    color: #000000d0;
    padding: 5px;
    text-align: center;
    transition: opacity 0.5s;
    z-index: 1000;
  }

.online {
    display: none;
    background-color: transparent;
    color: transparent;
}

.image-container {
    display: flex;
    justify-content: center;
}

.image-with-caption {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-caption {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-top: 5px;
    word-wrap: break-word;
}