.idl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.idl-list li {
    padding: 0.5rem;
    border: 1px solid #373b41;
    background: #282a2e;
}

.idl-list li:hover {
    border-color: #81a2be;
    background: #373b41;
}

.idl-list a {
    color: #8abeb7;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.idl-list a:hover {
    color: #c5c8c6;
}

.program-loader {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #282a2e;
    border: 1px solid #373b41;
}

.program-loader h2 {
    margin-top: 0;
}

.program-loader input {
    width: 100%;
    max-width: 500px;
    padding: 0.5rem;
    margin-right: 0.5rem;
    background: #1d1f21;
    border: 1px solid #373b41;
    color: #c5c8c6;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
}

.program-loader input:focus {
    outline: none;
    border-color: #81a2be;
}

.program-loader button {
    padding: 0.5rem 1rem;
    background: #373b41;
    border: 1px solid #4e5256;
    color: #c5c8c6;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    cursor: pointer;
}

.program-loader button:hover {
    background: #81a2be;
    border-color: #81a2be;
    color: #1d1f21;
}

.recent-programs {
    margin-bottom: 2rem;
}

.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recent-list .program-list-item {
    padding: 0.75rem;
    border: 1px solid #373b41;
    background: #282a2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.recent-list .program-list-item:hover {
    border-color: #81a2be;
    background: #373b41;
}

.recent-list .program-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0; /* Allow text truncation */
}

.recent-list .program-link {
    color: #8abeb7;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.recent-list .program-link:hover {
    color: #c5c8c6;
}

.recent-list .program-address {
    color: #969896;
    font-size: 11px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-list .last-updated {
    color: #707377;
    font-size: 11px;
    font-style: italic;
}

.recent-list .refresh-button {
    padding: 0.5rem 0.75rem;
    background: #373b41;
    border: 1px solid #4e5256;
    color: #c5c8c6;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.recent-list .refresh-button:hover {
    background: #81a2be;
    border-color: #81a2be;
    color: #1d1f21;
    transform: rotate(180deg);
}

.recent-list .refresh-button:active {
    transform: rotate(180deg) scale(0.95);
}

.recent-list .empty-message {
    color: #969896;
    font-style: italic;
    border: none;
    background: none;
    padding: 0.5rem 0;
}

.recent-list .empty-message:hover {
    background: none;
    border: none;
}

.built-in-idls {
    margin-top: 2rem;
}