:root {
    --primary-color: #2ecc71;
    --secondary-color: #3498db;
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg-gradient: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
}

body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.card {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hero-section {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 20px;
}

.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary-color);
    background: rgba(46, 204, 113, 0.1);
}

.drop-zone .icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.preview-image {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* New styles */
.nav-tabs .nav-link {
    color: var(--text-secondary);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 12px;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
    color: var(--text-primary);
}

.form-select option {
    background-color: #1e293b;
    color: var(--text-primary);
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accordion-item {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 10px;
}

.accordion-button {
    background-color: transparent;
    color: var(--text-primary);
    border-radius: 12px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(46, 204, 113, 0.1);
}

.accordion-body {
    color: var(--text-secondary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    background: linear-gradient(45deg, #2980b9, #3498db);
}