body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}
.upload-form {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}
.submit-btn {
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}
.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.result {
    margin-top: 20px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
    background: #f8f9fa;
    text-align: center;
}
.success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
}
.error {
    background-color: #fde8e8;
    border: 1px solid #e74c3c;
    color: #c0392b;
}
.file-types {
    margin: 15px 0;
    color: #7f8c8d;
    font-size: 14px;
}
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #edf2f7;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
    display: none;
}
.progress {
    width: 0%;
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
}
.file-input-wrapper {
    position: relative;
    margin-top: 20px;
    text-align: center;
}
.file-input-wrapper input[type="file"] {
    display: none;
}
.file-input-label {
    display: block;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.file-input-label:hover {
    border-color: #3498db;
    background-color: #f1f7fe;
}
.file-info {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
}
.url-text {
    font-family: monospace;
    font-size: 20px;
    color: #2d3748;
    padding: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.copy-btn {
    padding: 4px 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.copy-btn:hover {
    background: #2980b9;
}
.bg-credit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: all 0.3s ease;
}
.bg-credit:hover {
    background: rgba(0, 0, 0, 0.7);
}
.image-count {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(4px);
    z-index: 1000;
}
.file-input-label.drag-over {
    background-color: #e6f3ff !important;
    border-color: #3498db !important;
    transform: scale(1.01);
}
.file-input-label {
    transition: all 0.3s ease;
} 