/* OnDuty Addons — frontend styles */

.ondutyaddons-wrapper {
    margin: 25px 0;
    padding: 20px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.ondutyaddons-title {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
    color: #232323;
}

.ondutyaddons-subtitle {
    margin: 0 0 15px;
    font-size: 14px;
    color: #666;
}

.ondutyaddons-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.ondutyaddons-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    font-weight: normal;
}

.ondutyaddons-item:hover {
    border-color: #0075ff;
    background: #f0f7ff;
}

.ondutyaddons-checkbox {
    margin: 0 10px 0 0;
    flex-shrink: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.ondutyaddons-item:has(.ondutyaddons-checkbox:checked) {
    border-color: #0075ff;
    background: #e8f2ff;
    box-shadow: 0 2px 6px rgba(0, 117, 255, 0.15);
}

.ondutyaddons-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 12px;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ondutyaddons-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ondutyaddons-no-image {
    color: #bbb;
    font-size: 24px;
}

.ondutyaddons-info {
    flex-grow: 1;
    min-width: 0;
}

.ondutyaddons-name {
    font-size: 14px;
    font-weight: 500;
    color: #232323;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ondutyaddons-price {
    font-size: 15px;
    font-weight: 700;
    color: #0075ff;
}

@media (max-width: 544px) {
    .ondutyaddons-list {
        grid-template-columns: 1fr;
    }
}
