html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

/* Dashboard Layout */
.sidebar {
    width: 280px;
    transition: all 0.3s;
    min-height: 100vh;
    position: fixed;
    z-index: 1000;
}

    .sidebar.collapsed {
        margin-left: -280px;
    }

.content-wrapper {
    width: calc(100% - 280px);
    margin-left: 280px;
    transition: all 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    .content-wrapper.expanded {
        width: 100%;
        margin-left: 0;
    }

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* Card styles */
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 180px;
    object-fit: cover;
}

.bg-primary-gradient {
    background: linear-gradient(45deg, #4e73df, #6f42c1);
}

.bg-success-gradient {
    background: linear-gradient(45deg, #1cc88a, #20c997);
}

.bg-info-gradient {
    background: linear-gradient(45deg, #36b9cc, #0dcaf0);
}

.bg-warning-gradient {
    background: linear-gradient(45deg, #f6c23e, #ffc107);
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

.btn-action {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* Sezioni e Lezioni */
.sezione-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.lezione-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.badge-difficulty {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge-facile {
    background-color: #d1e7dd;
    color: #0f5132;
}

.badge-intermedio {
    background-color: #fff3cd;
    color: #664d03;
}

.badge-avanzato {
    background-color: #f8d7da;
    color: #842029;
}

/* PostJob styles */
.job-card {
    border-left: 4px solid #4e73df;
    transition: all 0.3s ease;
}

    .job-card:hover {
        border-left-width: 8px;
    }

    .job-card.not-approved {
        border-left-color: #e74a3b;
    }

    .job-card.approved {
        border-left-color: #1cc88a;
    }

.benefit-tag {
    background-color: #e3f2fd;
    color: #0d6efd;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.tag-item {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}
.badge-easy {
    background-color: #28a745;
    color: white;
}

.badge-intermediate {
    background-color: #ffc107;
    color: black;
}

.badge-advanced {
    background-color: #dc3545;
    color: white;
}
