@font-face {
    font-family: 'Salesforce Sans';
    src: url('SalesforceSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Salesforce Sans', 'Roboto', Arial, sans-serif;
    /* font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Roboto, 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; */
    background: var(--md-sys-color-background, #121212);
    color: var(--md-sys-color-on-background, #fff);
    transition: background 0.3s, color 0.3s;
}

.container {
    max-width: 1280px;
    width: 95%;
    margin: 1rem auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.dark-mode {
    --md-sys-color-background: #121212;
    --md-sys-color-on-background: #fff;
    --md-sys-color-surface: #232323;
    --md-sys-color-primary: #4d8edb;
    --icon-primary-color: #fff; /* Icon color for dark mode */
}

.light-mode {
    --md-sys-color-background: #fff;
    --md-sys-color-on-background: #222;
    --md-sys-color-surface: #f5f5f5;
    --md-sys-color-primary: #1565c0;
    --icon-primary-color: #333; /* Icon color for light mode */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dark-toggle {
    margin-left: 1rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--md-sys-color-surface, #232323);
    color: var(--md-sys-color-on-background, #fff);
    margin: auto;
    padding: 2.5rem; /* Increased padding for more spacing around content */
    border-radius: 16px;
    min-width: 320px; /* Set minimum width for small screens */
    max-width: 600px; /* Restored to original width */
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem; /* Increased size for better visibility */
    color: inherit;
    cursor: pointer;
    width: 48px; /* Increased fixed width */
    height: 48px; /* Increased fixed height */
    display: flex;
    align-items: center;
    justify-content: center; 
    border-radius: 50%;
    transition: all 0.2s;
    opacity: 0.7;
}

.modal-close:hover {
    background-color: rgba(255,255,255,0.1);
    opacity: 1;
}

.light-mode .modal-close:hover {
    background-color: rgba(0,0,0,0.1);
}

.server-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.server-image-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.1);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-image-container.no-image .server-image {
    display: none;
}

.server-image-container.no-image .server-image-placeholder,
.server-image-container.loading .server-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
}

.server-image-placeholder {
    display: none;
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    flex-direction: column;
}

.light-mode .server-image-placeholder {
    color: rgba(0,0,0,0.6);
}

.image-loading-error {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: rgba(0,0,0,0.7);
    color: #ef5350;
    font-size: 0.9rem;
    text-align: center;
}

.light-mode .image-loading-error {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}

/* Table styles */
.server-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    background: var(--md-sys-color-surface, #232323);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.server-table thead {
    background-color: rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.server-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    /* Removed text-transform: uppercase */
}

.server-table th:hover {
    background-color: rgba(255,255,255,0.1);
}

.server-table th .sort-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 0.25rem;
    opacity: 0.5;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.server-table th.sorted .sort-icon {
    opacity: 1;
}

.server-table th.sort-asc .sort-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 14l5-5 5 5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.server-table th.sort-desc .sort-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.server-table tbody tr {
    border-top: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.server-table tbody tr:hover {
    background-color: rgba(255,255,255,0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.server-table tbody tr:nth-child(odd) {
    background-color: rgba(255,255,255,0.02);
}

.server-table td {
    padding: 0.9rem 0.75rem;
}

.server-table td.players-count {
    font-weight: normal;
    font-family: 'Salesforce Sans', 'Roboto', Arial, sans-serif;
}

.server-table td.server-ip {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    opacity: 0.8;
}

.server-table td.server-status {
    text-align: center;
}

/* Add proper width for icon columns */
.server-table th.icon-column,
.server-table td.server-status {
    width: 24px;
    padding-left: 24px; /* Increased from 16px for more spacing in first column */
    padding-right: 8px;
}

/* Server status flags in modal */
.server-status-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.password-protected {
    color: #4d8edb;
    display: flex;
    align-items: center;
}

.no-password {
    color: #66bb6a;
    display: flex;
    align-items: center;
}

.dedicated {
    color: #4d8edb;
    display: flex;
    align-items: center;
}

.not-dedicated {
    color: #ef5350;
    display: flex;
    align-items: center;
}

/* Modern SVG icons with theme support */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
}

/* Remove the filter properties that were causing icons to be invisible */
.dark-mode .icon,
.light-mode .icon {
    filter: none;
}

/* Set icon sizes for buttons */
md-icon-button .icon {
    margin-right: 0;
    width: 24px;
    height: 24px;
}

.icon-refresh {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 9h7V2l-2.35 4.35z'/%3E%3C/svg%3E");
}

.light-mode .icon-refresh {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 9h7V2l-2.35 4.35z'/%3E%3C/svg%3E");
}

/* Dark/light mode icon toggle */
.dark-mode .icon-dark-mode {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z'/%3E%3C/svg%3E");
}

.light-mode .icon-dark-mode {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z'/%3E%3C/svg%3E");
}

/* Fix specific icon visibility */
.icon-lock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !important;
}

.light-mode .icon-lock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231565c0'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !important;
}

.icon-unlock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2366bb6a'%3E%3Cpath d='M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !important;
}

.icon-server {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V8h14v10zM7 10h10v2H7zm0 4h7v2H7z'/%3E%3C/svg%3E") !important;
}

.light-mode .icon-server {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231565c0'%3E%3Cpath d='M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V8h14v10zM7 10h10v2H7zm0 4h7v2H7z'/%3E%3C/svg%3E") !important;
}

.icon-cross {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef5350'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !important;
}

/* Fix for the players count font to match the rest */
.server-table td.players-count {
    font-weight: normal;
    font-family: 'Salesforce Sans', 'Roboto', Arial, sans-serif;
}

/* Make refresh and theme toggle buttons larger */
md-icon-button {
    --md-icon-button-container-width: 48px;
    --md-icon-button-container-height: 48px;
    --md-icon-button-container-color: transparent;
    --md-icon-button-icon-size: 28px;
    margin-left: 8px;
}

md-icon-button .icon {
    margin-right: 0;
    width: 28px;
    height: 28px;
}

/* Fix for table header in light mode */
.light-mode .server-table thead {
    background-color: rgba(0,0,0,0.1); /* Lighter background for light mode */
}

.light-mode .server-table th:hover {
    background-color: rgba(0,0,0,0.15); /* Appropriate hover for light mode */
}

/* Fix for sort icons in light mode */
.light-mode .server-table th .sort-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.light-mode .server-table th.sort-asc .sort-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 14l5-5 5 5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.light-mode .server-table th.sort-desc .sort-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

/* Fix for black bar in light mode */
.light-mode html, 
.light-mode body {
    background: var(--md-sys-color-background, #fff);
}

/* Claude attribution */
.claude-attribution {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(77, 142, 219, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    cursor: pointer;
    z-index: 50;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.claude-attribution:hover {
    opacity: 1;
}

.claude-tooltip {
    position: absolute;
    bottom: 30px;
    right: 0;
    background-color: rgba(20, 20, 20, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.claude-attribution:hover .claude-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Debug panel styles */
.debug-panel {
    display: none;
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid var(--md-sys-color-primary);
    border-radius: 8px;
    background-color: rgba(0,0,0,0.1);
}

.debug-panel h3 {
    color: var(--md-sys-color-primary);
    margin-top: 0;
}

#debugContent, #apiResponseContent {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow-x: auto;
}

#apiResponseContent pre {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 0.9rem;
}

.icon-dark-mode {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z'/%3E%3C/svg%3E");
}

/* Add CSS for error messages and loading states */
.server-image-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.1);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-image-container.no-image .server-image {
    display: none;
}

.server-image-container.no-image .server-image-placeholder,
.server-image-container.loading .server-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
}

.server-image-placeholder {
    display: none;
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    flex-direction: column;
}

.light-mode .server-image-placeholder {
    color: rgba(0,0,0,0.6);
}

.image-loading-error {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: rgba(0,0,0,0.7);
    color: #ef5350;
    font-size: 0.9rem;
    text-align: center;
}

.light-mode .image-loading-error {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}

/* Error, info, and loading message styles */
.error-message, .info-message, .loading-message {
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    text-align: center;
}

.error-message {
    background-color: rgba(239, 83, 80, 0.1);
    border: 1px solid rgba(239, 83, 80, 0.3);
    color: #ef5350;
}

.light-mode .error-message {
    background-color: rgba(239, 83, 80, 0.05);
    border: 1px solid rgba(239, 83, 80, 0.2);
    color: #d32f2f;
}

.info-message {
    background-color: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #42a5f5;
}

.light-mode .info-message {
    background-color: rgba(33, 150, 243, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.2);
    color: #1976d2;
}

.loading-message {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.light-mode .loading-message {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
}

/* Retry button style */
#retryButton {
    margin-top: 1rem;
    background-color: var(--md-sys-color-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

#retryButton:hover {
    background-color: rgba(77, 142, 219, 0.8);
}

.light-mode #retryButton:hover {
    background-color: rgba(21, 101, 192, 0.8);
}
