@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-container {
    margin: 20px;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.upload-header {
    text-align: center;
    margin-bottom: 30px;
}

.upload-header i {
    font-size: 48px;
    color: #764ba2;
    margin-bottom: 15px;
}

h2 {
    color: #2d3748;
    margin: 0;
    font-weight: 600;
    font-size: 24px;
}

.upload-area {
    position: relative;
    margin: 25px 0;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    border-color: #764ba2;
    background: #f3f4f6;
}

.file-label i {
    font-size: 32px;
    color: #764ba2;
    margin-bottom: 15px;
}

.file-label span {
    color: #4a5568;
    font-size: 16px;
}

#fileInput {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease-in-out;
}

button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

.file-name {
    margin-top: 10px;
    color: #764ba2;
    font-size: 14px;
    font-weight: 500;
    word-break: break-all;
    display: none;
}

.file-name.visible {
    display: block;
}

.toastify a {
    word-break: break-all;
}

.upload-result {
    margin-top: 20px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.result-link {
    flex: 1;
    color: #4a5568;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-url {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-link:hover {
    color: #764ba2;
}

.copy-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #4a5568;
    width: auto;
}

.copy-button:hover {
    color: #764ba2;
    transform: none;
    box-shadow: none;
}
