/* Stili generali per il widget */
.widget-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    border: 1px solid #B98900; /* primary-600 per il bordo */
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.widget-icon {
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    color: #B98900;
}

.widget-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-medium */
    margin: 0;
    color: #B98900; /* primary-600 */
}

.widget-description {
    font-size: 0.875rem; /* text-sm */
    font-weight: 400; /* font-light */
    margin: 0;
    color: #B98900; /* text-gray-700 */
}

.widget-footer {
    display: flex;
    /* justify-content: flex-end; */
    align-items: center;
    margin-top: 0.75rem;
}

.widget-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    color: #B98900; /* primary-600 */
    text-decoration: none;
}

.widget-link:hover {
    text-decoration: underline;
}

.widget-link-icon {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    color: #B98900; /* primary-600 */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .widget-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    .widget-icon {
        margin-bottom: 1rem;
    }
    .widget-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .widget-description {
        font-size: 0.875rem;
    }
    .widget-footer {
        width: 100%;
        justify-content: center;
    }
    .widget-link {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .widget-container {
        padding: 1rem 0.75rem;
    }
    .widget-title {
        font-size: 0.875rem;
    }
    .widget-description {
        font-size: 0.75rem;
    }
    .widget-link {
        font-size: 0.75rem;
    }
    .widget-link-icon {
        width: 1rem;
        height: 1rem;
    }
}
