* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header h1 {
    color: #4a5568;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.header p {
    color: #718096;
    font-size: 1.1em;
}

/* 多選控制區域 */
.selection-controls {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.selection-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
    color: #4a5568;
}

.selection-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.selection-actions .btn {
    min-width: 120px;
}

.photosets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.photoset-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

.photoset-cover {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0),
                linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.photoset-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cover-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: #a0aec0;
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photoset-info {
    padding: 20px;
}

.photoset-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.photoset-card:hover .photoset-cover-img {
    transform: scale(1.05);
}

.photoset-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
}

.photoset-description {
    color: #718096;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.photoset-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.photo-count {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.view-link {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.photo-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.photo-card:hover {
    transform: scale(1.02);
}

.photo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photo-info {
    padding: 15px;
}

.photo-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.photo-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* 相片多選功能樣式 */
.photo-selection {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    pointer-events: none;
}

.photo-checkbox {
    display: none;
}

.selection-indicator {
    display: none;
    width: 30px;
    height: 30px;
    background: #4299e1;
    border: 3px solid #fff;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.photo-clickable-area {
    cursor: pointer;
    position: relative;
}

.photo-card:hover .photo-clickable-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(66, 153, 225, 0.1);
    pointer-events: none;
}

.photo-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-card.selected {
    border: 3px solid #4299e1;
    box-shadow: 0 8px 30px rgba(66, 153, 225, 0.3);
    transform: scale(1.02);
}

.photo-card.selected .photo-image {
    opacity: 0.8;
}

.photo-card.selected .selection-indicator {
    display: block;
}

.photo-card {
    cursor: pointer;
    user-select: none;
}

.photo-card .photo-actions a {
    pointer-events: auto;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    color: white;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
    color: #2d3748;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.loading {
    text-align: center;
    color: white;
    font-size: 1.2em;
    margin: 50px 0;
}

.error {
    background: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.pagination-info {
    color: #718096;
    font-size: 0.9em;
    margin-top: 10px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    padding: 20px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-btn:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    background: rgba(255, 255, 255, 0.7);
    color: #4a5568;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination-number:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    text-decoration: none;
    transform: translateY(-1px);
}

.pagination-current {
    background: #667eea;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pagination-ellipsis {
    color: #a0aec0;
    padding: 8px 4px;
    font-weight: bold;
}

/* HTML 結果區域樣式 */
.html-result-section {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.html-result-section h3 {
    color: #4a5568;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.html-output {
    position: relative;
}

#html-output {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: #f7fafc;
    color: #2d3748;
    resize: vertical;
    min-height: 200px;
}

#html-output:focus {
    border-color: #4299e1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.html-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

/* 載入優化樣式 */
.photoset-cover-img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.photoset-cover-img.loaded {
    animation: none;
    background: none;
}

/* 預載入提示 */
.prefetch-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1000;
}

.prefetch-indicator.show {
    opacity: 1;
    transform: translateX(0);
}

/* 性能監控顯示 */
.performance-info {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.75em;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.performance-info.show {
    opacity: 1;
}

/* 用戶搜尋功能樣式 - 美化版本 */
.search-form {
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.05) 50%, 
        rgba(102, 126, 234, 0.05) 100%);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.search-input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.search-input-container {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.search-input-container::before {
    content: '🔍';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #a0aec0;
    z-index: 1;
    transition: all 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.15em;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #2d3748;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.search-input:focus {
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.15),
        0 8px 30px rgba(102, 126, 234, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.02);
}

.search-input-container:focus-within::before {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

.search-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.search-btn {
    padding: 18px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1em;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b3fa0 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(90, 103, 216, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 6px 20px rgba(90, 103, 216, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-examples {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.search-examples p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.search-examples-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.example-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #2d3748;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.example-link::before {
    content: '👤';
    margin-right: 8px;
    font-size: 1.1em;
}

.example-link:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #1a202c;
    text-decoration: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.example-link:active {
    transform: translateY(-1px) scale(1.02);
}

/* 相簿搜尋功能樣式 */
.photoset-search-container {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.photoset-search-form .search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.photoset-search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    font-size: 1em;
    font-weight: 500;
    color: #2d3748;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.photoset-search-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 4px 12px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.photoset-search-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.clear-search-btn {
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    color: #e53e3e;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.clear-search-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #c53030;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.search-info {
    padding: 10px 15px;
    background: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95em;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.user-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.back-search-btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.back-search-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #5a67d8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.refresh-btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.refresh-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #16a34a;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.error h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.error p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: auto;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .user-actions {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .photosets-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    /* 相簿搜尋響應式樣式 */
    .photoset-search-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .photoset-search-form .search-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .photoset-search-input {
        min-width: 100%;
        font-size: 16px; /* 防止在iOS設備上縮放 */
    }
    
    .clear-search-btn {
        align-self: center;
        font-size: 0.85em;
    }
    
    .search-info {
        text-align: center;
        font-size: 0.9em;
    }
}

/* 批次下載相關樣式 */
.download-result-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.download-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    width: 0%;
    transition: width 0.3s ease;
}

#progress-text {
    text-align: center;
    font-weight: 500;
    color: #495057;
}

.download-status {
    margin-top: 1rem;
}

#download-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s;
}

.download-item:last-child {
    border-bottom: none;
}

.download-item.downloaded {
    background-color: #d4edda;
    color: #155724;
}

.download-item.failed {
    background-color: #f8d7da;
    color: #721c24;
}

.download-filename {
    font-family: monospace;
    font-size: 0.9rem;
    flex: 1;
    margin-right: 1rem;
    word-break: break-all;
}

.download-status-text {
    font-weight: 500;
    min-width: 80px;
    text-align: right;
}

.download-actions {
    margin-top: 1rem;
    text-align: right;
}

/* 成功按鈕樣式 */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}