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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #333;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

/* Header */
.header {
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.logo svg {
    color: white;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
}

/* Cards */
.upload-card,
.success-card,
.progress-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
    font-weight: 600;
}

.settings-btn {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 10px;
    transition: transform 0.3s;
}

.settings-btn:hover {
    transform: rotate(90deg);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.subtitle {
    margin-bottom: 20px;
    color: #666;
    font-size: 15px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.input-field,
.textarea-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.input-field:focus,
.textarea-field:focus {
    outline: none;
    border-color: #007bff;
}

.textarea-field {
    resize: vertical;
}

/* Options */
.options {
    margin: 24px 0;
}

.options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.select-box {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.select-box:focus {
    outline: none;
    border-color: #007bff;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-disabled {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    width: 100%;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary-disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* Success Card */
.success-card {
    text-align: center;
}

.success-icon {
    margin: 0 auto 24px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    border-radius: 50%;
}

.success-card h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #333;
}

.success-card p {
    color: #666;
    margin-bottom: 24px;
    font-size: 15px;
}

.link-box {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
}

.link-input {
    flex: 1;
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #0056b3;
}

.link-action {
    display: block;
    color: #007bff;
    text-decoration: none;
    margin: 16px 0;
    font-weight: 500;
}

.link-action:hover {
    text-decoration: underline;
}

/* Progress Card */
.progress-card {
    text-align: center;
}

.progress-icon {
    margin: 0 auto 24px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    border-radius: 50%;
}

.spin {
    animation: spin 2s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.progress-card h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.progress-card p {
    color: #666;
    margin-bottom: 8px;
    font-size: 15px;
}

.buttons-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.buttons-group button {
    flex: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 14px;
}

.highlight {
    color: #ff6b6b;
    font-weight: 600;
}

/* Utility */
.hidden {
    display: none !important;
}

/* FilePond Customization */
.filepond--root {
    margin-bottom: 20px;
}

.filepond--drop-label {
    min-height: 200px;
}

.filepond--panel-root {
    background-color: #f8f9fa;
    border: 2px dashed #007bff;
}

/* Responsive */
@media (max-width: 768px) {

    .upload-card,
    .success-card,
    .progress-card {
        padding: 24px;
        margin: 0 16px;
    }

    .tabs {
        gap: 12px;
    }

    .tab {
        padding: 10px 12px;
        font-size: 14px;
    }

    .buttons-group {
        flex-direction: column;
    }

    .link-box {
        flex-direction: column;
    }
}