﻿.esco-badge-container {
    background: linear-gradient(135deg, #e8f0fc 0%, #f5f8fd 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

/* Header con tipo skill */
.esco-skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.esco-skill-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .esco-skill-type-badge.type-transversal {
        background: #e0f2f1;
        color: #00695c;
    }

    .esco-skill-type-badge.type-skill {
        background: #e3f2fd;
        color: #1565c0;
    }

    .esco-skill-type-badge.type-knowledge {
        background: #f3e5f5;
        color: #7b1fa2;
    }

    .esco-skill-type-badge.type-language {
        background: #fff3e0;
        color: #e65100;
    }

.esco-reusability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 11px;
    background: #f5f5f5;
    color: #616161;
}

/* Titolo ESCO */
.esco-title {
    font-weight: 700;
    font-size: 14px;
    color: #1565c0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card principale skill */
.esco-skill-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.esco-skill-name {
    font-weight: 700;
    font-size: 20px;
    color: #1a237e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.esco-skill-description {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Sezione etichette alternative */
.esco-alt-labels-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.esco-section-title {
    font-weight: 600;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esco-alt-labels-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.esco-alt-label {
    display: inline-block;
    padding: 6px 12px;
    background: #e8eaf6;
    color: #3949ab;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

/* Link ESCO */
.esco-uri-section {
    background: #fafafa;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.esco-uri-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.esco-uri-link {
    color: #1565c0;
    text-decoration: none;
    font-size: 13px;
    word-break: break-all;
}

    .esco-uri-link:hover {
        text-decoration: underline;
    }

    .esco-uri-link i {
        margin-left: 4px;
        font-size: 11px;
    }

/* Pulsanti azioni */
.esco-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

/* Loading state */
.esco-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

    .esco-loading .spinner-border {
        width: 24px;
        height: 24px;
        margin-bottom: 12px;
    }

/* Error state */
.esco-error {
    text-align: center;
    padding: 24px;
    background: #fff3e0;
    border-radius: 8px;
    color: #e65100;
}
/* Header ESCO */
.esco-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(21, 101, 192, 0.15);
}

.esco-framework-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #1565c0;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .esco-framework-label i {
        font-size: 14px;
    }

.esco-area-name {
    font-weight: 700;
    font-size: 18px;
    color: #1a237e;
}