/* Admin Styles */
body.admin-body {
    overflow-y: auto;
    width: 100%;
    min-height: 100vh;
}

#admin-interface {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 2rem;
}

.album-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c2c2c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.album-item input[type="checkbox"] {
    transform: scale(2);
    margin-right: 10px;
    cursor: pointer;
}

.album-info {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
}

.album-title {
    font-weight: bold;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.album-url-small {
    font-size: 0.8em;
    color: #aaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.toggle-switch input[type="checkbox"] {
    transform: scale(2);
    cursor: pointer;
}

/* Status Popup */
.status-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.status-popup.hidden {
    opacity: 0;
    pointer-events: none;
}

.status-content {
    background: #333;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    max-width: 80%;
}

.status-message {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 1rem;
}

/* Icons */
.status-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #4CAF50;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success/Error Styles */
.status-icon.success::before {
    content: '✓';
    color: #4CAF50;
}

.status-icon.error::before {
    content: '!';
    color: #f44336;
}