/* ============================================
   Компонент "Хранение шин"
   ============================================ */

.component-fields {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.component-actions {
    display: flex;
    gap: 12px;
}

.component-actions .btn {
    width: 100%;
}

.tire-item {
    background: #f9f9f9;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #1f6aff;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.tire-item-content {
    flex: 1;
    font-size: 13px;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tire-item-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tire-item-number {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.tire-item-separator {
    color: #999;
    font-size: 14px;
}

.tire-item-quantity {
    font-weight: 600;
    color: #1f6aff;
    font-size: 14px;
}

.tire-item-field {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.tire-item-actions {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.tire-item-actions-row {
    display: flex;
    gap: 6px;
    flex: 1;
    align-items: stretch;
}

.tire-item-btn {
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.tire-item-decrease {
    background: #e8e8e8;
    min-width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f6aff;
    font-weight: 600;
    font-size: 24px;
}

.tire-item-decrease:hover {
    background: #d8d8d8;
}

.tire-item-increase {
    background: #e8e8e8;
    min-width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f6aff;
    font-weight: 600;
    font-size: 24px;
}

.tire-item-increase:hover {
    background: #d8d8d8;
}

.tire-item-remove {
    background: #ff4444;
    color: #fff;
}

.tire-item-remove:hover {
    background: #e03030;
}

.btn {
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #1f6aff;
    color: #fff;
}

.btn-primary:hover {
    background: #1557d8;
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

#tires-list {
    display: none;
}

#tires-list.show {
    display: block;
}

