/* Custom styles for Lumino Management System */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Font Family */
body {
    font-family: var(--font-family);
}

.login-logo a {
    font-family: var(--font-family);
}

/* Login page customizations */
.login-page {
    position: relative;
    overflow: hidden;
    background: none !important; /* Forza rimozione sfondo immagine */
}

.login-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.background-slide.active {
    opacity: 1;
}

.login-box {
    position: relative;
    z-index: 1;
}

/* Welcome Title Styles */
.welcome-title {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 90%;
}

.main-title {
    font-family: 'Figtree', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }
}

.login-logo a {
    color: #fff;
    font-weight: 300;
    font-size: 2.1rem;
}

.login-logo a:hover {
    text-decoration: none;
}

/* Sidebar customizations */
.main-sidebar {
    background-color: #123e69;
}

.brand-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card enhancements */
.card {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Table improvements */
.table {
    font-size: 0.9rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Badge customizations */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Button improvements */
.btn {
    font-weight: 500;
    border-radius: 0.25rem;
}

/* Form improvements */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Info box enhancements */
.info-box {
    border-radius: 0.25rem;
    transition: transform 0.2s;
}

.info-box:hover {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-box {
        width: 90%;
    }
    
    .main-sidebar {
        transform: translateX(-100%);
    }
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

