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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

header, footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

nav {
    background: #f8f9fa;
    padding: 15px 30px;
    border-bottom: 1px solid #e9ecef;
}

nav button {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    background: #667eea;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

nav button:hover {
    background: #5a67d8;
}

.content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

input[type="text"],
input[type="email"],
input[type="password"],
select#dataTypeSelect {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

button {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

button:hover {
    background: #5a67d8;
}

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

.upload-area {
    border: 3px dashed #dee2e6;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: border-color 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
}

.upload-area.dragover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.progress-container {
    margin-top: 20px;
}

.progress-bar {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.file-list {
    margin-top: 20px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.file-info {
    flex: 1;
}

.file-actions button {
    margin-left: 10px;
    padding: 6px 12px;
    font-size: 14px;
}

.message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #e9ecef;
    border-radius: 6px;
}

.storage-info {
    flex: 1;
}

.storage-bar {
    height: 10px;
    background: #dee2e6;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.storage-used {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.hidden {
    display: none;
}

.copyright-container {
    text-align: center;
    padding: 20px 0;
}

.copyright-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.copyright-sub {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 15px;
    opacity: 0.9;
}

.copyright-badge {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.badge:nth-child(2) {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.badge:nth-child(3) {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}
