/* Common styles for all steps */
.step {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Auth step */
#authorize {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#authorize:hover {
    background-color: #3367d6;
}

/* Album selection */
#album-name-input {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

#create-album-button {
    background-color: #34a853;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* Process step */
#process-status {
    font-size: 18px;
    color: #333;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #4285f4;
}

#preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.preview-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.preview-image:hover {
    transform: scale(1.02);
}

/* Copy step */
#copy-status, #copy-progress {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #34a853;
}

/* Cleanup step */
#cleanup-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

/* Common button styles */
button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 5px;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#continue-to-copy-button {
    background-color: #4285f4;
    color: white;
}

#delete-old-images-button {
    background-color: #ea4335;
    color: white;
}

#skip-cleanup-button {
    background-color: #fbbc05;
    color: white;
}

/* Status messages */
.status-message {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #4285f4;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    z-index: 2;
}

.step-title {
    font-size: 14px;
    color: #666;
}

.step-item.done .step-number {
    background: #4CAF50;
    color: white;
}

.step-item.active .step-number {
    background: #2196F3;
    color: white;
}

.step-item.done:not(:last-child)::after {
    background: #4CAF50;
}

#background-style {
    padding: 8px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    cursor: pointer;
}

#background-style:focus {
    border-color: #4285f4;
    outline: none;
}
