@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-light: #f8fafc;
    --bg-dark: #020617;
    --card-light: rgba(255, 255, 255, 0.8);
    --card-dark: rgba(15, 23, 42, 0.9);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card {
    background: var(--card-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.dark .glass-card {
    background: var(--card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#dropZone {
    transition: all 0.3s ease;
    border-width: 2px;
}

#dropZone:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.drop-zone--over {
    border-color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.1) !important;
    transform: scale(1.02);
}

.img-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #e2e8f0;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .img-container {
    background: #1e293b;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px -3px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.5);
}

.btn-primary:active {
    transform: scale(0.98);
}
