﻿:root {
    --sidebar-width: 260px;
    --topbar-height: 70px;
    --primary-gradient: linear-gradient(135deg, #525658 0%, #313334 100%);
    --colore-chiaro: #525658;
    --colore-scuro: #313334;
}

.uk-border-rounded {
    border-radius: 12px !important;
}

.uk-section-muted {
    /*  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg, var(--colore-chiaro) 0%, var(--colore-scuro) 100%);
}

.uk-card {
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uk-input:focus {
    /*  border-color: #667eea !important;*/
    /*  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;*/
    border-color: var(--colore-chiaro) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.uk-button-primary {
    /*  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg, var(--colore-chiaro) 0%, var(--colore-scuro) 100%);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .uk-button-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    }

.uk-form-icon {
    /*  color: #667eea;*/
    color: var(--colore-chiaro);
}

/* Animazione icone features */
.uk-card-small span[uk-icon] {
    transition: transform 0.3s ease;
}

.uk-card-small:hover span[uk-icon] {
    transform: scale(1.2) rotate(5deg);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

button[disabled] {
    animation: pulse 1.5s ease-in-out infinite;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Card glow effect */
.uk-card-default {
    transition: box-shadow 0.3s ease;
}

    .uk-card-default:hover {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    }

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .loading-overlay.active {
        display: flex;
    }