.rag-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 24px;
}

.rag-card-inner {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: stretch;
}

.rag-left-col {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
    padding-right: 24px;
}

.rag-title {
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0;
}

.rag-right-col {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.rag-rule {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    border-right: 1px solid #e2e8f0;
    gap: 12px;
}

.rag-rule:last-child {
    border-right: none;
    padding-right: 0;
}

.rag-rule:first-child {
    padding-left: 0;
}

.rag-rule-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.rag-rule-icon img,
.rag-rule-icon svg {
    max-width: 40px;
    max-height: 40px;
    height: auto;
    object-fit: contain;
}

.rag-rule-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .rag-card-inner {
        flex-direction: column;
        gap: 20px;
    }

    .rag-left-col {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 20px;
        justify-content: center;
        text-align: center;
    }

    .rag-right-col {
        flex-direction: column;
        gap: 20px;
    }

    .rag-rule {
        border-right: none;
        padding: 0;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 20px;
    }

    .rag-rule:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}