:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--light);
    box-shadow: var(--box-shadow);
    padding: 1rem 2rem;
}

footer {
    background: var(--light);
    padding: 1.5rem;
    text-align: center;
    /* box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05); */
    margin-top: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}


nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}



/* Dropzone Styling */
.dropzone {
    padding: 2rem;
    text-align: center;
    background: var(--light);
    transition: all 0.3s;
    /* box-shadow: var(--box-shadow); 
        border: 2px dashed var(--gray);
    border-radius: var(--border-radius);*/
}

.dropzone:hover {
    border-color: var(--primary);
}

/* Buttons */
button,
.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

button:hover,
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

#login-btn {
    text-decoration: none;
    max-width: 300px;
}


#cookie-consent {
    position: fixed;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: var(--light);
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-consent-hidden {
    display: none !important;
}


/* Style for disabled login button */
a[href*="login"].disabled,
button[href*="login"].disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Cards */
.card {
    background: var(--light);
    /* border-radius: var(--border-radius);
     box-shadow: var(--box-shadow); 
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    */
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.analysis-results:not(:empty)~#loading-message {
    display: none;
}