/* СУДИ.РФ - Встраиваемый виджет */
.sudi-widget-container {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    gap: 16px;
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.sudi-widget-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.sudi-widget-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sudi-widget-title-link {
    text-decoration: none;
    color: inherit;
}

.sudi-widget-title-link:hover .sudi-widget-title {
    opacity: 0.8;
}

.sudi-widget-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #0b0b3d;
    transition: opacity 0.2s;
}

.sudi-widget-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #4B5563;
}

.sudi-widget-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #228BE6;
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.sudi-widget-button:hover {
    background: #1C7ED6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.sudi-widget-loading {
    padding: 20px;
    text-align: center;
    color: #666666;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .sudi-widget-container {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .sudi-widget-image {
        width: 60px;
        height: 60px;
    }

    .sudi-widget-title {
        font-size: 20px;
    }

    .sudi-widget-button {
        width: 100%;
    }
}
